javax.security.cert.X509Certificate.getIssuerDN()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(199)

本文整理了Java中javax.security.cert.X509Certificate.getIssuerDN()方法的一些代码示例,展示了X509Certificate.getIssuerDN()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。X509Certificate.getIssuerDN()方法的具体详情如下:
包路径:javax.security.cert.X509Certificate
类名称:X509Certificate
方法名:getIssuerDN

X509Certificate.getIssuerDN介绍

[英]Returns the issuer (issuer distinguished name) as an implementation specific Principal object.

The ASN.1 definition of issuer:

issuer      Name 
Name ::= CHOICE { 
RDNSequence } 
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName 
RelativeDistinguishedName ::= SET OF AttributeTypeAndValue 
AttributeTypeAndValue ::= SEQUENCE { 
type     AttributeType, 
value    AttributeValue } 
AttributeType ::= OBJECT IDENTIFIER 
AttributeValue ::= ANY DEFINED BY AttributeType

[中]将颁发者(颁发者可分辨名称)作为特定于实现的主体对象返回。
ASN。1发行人的定义:

issuer      Name 
Name ::= CHOICE { 
RDNSequence } 
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName 
RelativeDistinguishedName ::= SET OF AttributeTypeAndValue 
AttributeTypeAndValue ::= SEQUENCE { 
type     AttributeType, 
value    AttributeValue } 
AttributeType ::= OBJECT IDENTIFIER 
AttributeValue ::= ANY DEFINED BY AttributeType

代码示例

代码示例来源:origin: redisson/redisson

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: wildfly/wildfly

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: io.netty/netty-handler

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: apache/activemq-artemis

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: io.bitsensor/proto

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: KostyaSha/yet-another-docker-plugin

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: com.aliyun.openservices/ons-client

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: org.apache.hbase.thirdparty/hbase-shaded-netty

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: couchbase/couchbase-jvm-core

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: com.datastax.oss/java-driver-core-shaded

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: apache/activemq-artemis

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: com.couchbase.client/core-io

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: org.apache.ratis/ratis-proto-shaded

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public Principal getIssuerDN() {
  return unwrap().getIssuerDN();
}

代码示例来源:origin: stackoverflow.com

String name = x509.getIssuerDN().getName(); 
KeyStore ks = KeyStore.getInstance("AndroidCAStore");
if (ks != null)

代码示例来源:origin: org.apache.camel/camel-netty4

message.setHeader(NettyConstants.NETTY_SSL_CLIENT_CERT_SUBJECT_NAME, subject.getName());
Principal issuer = cert.getIssuerDN();
if (issuer != null) {
  message.setHeader(NettyConstants.NETTY_SSL_CLIENT_CERT_ISSUER_NAME, issuer.getName());

代码示例来源:origin: org.apache.camel/camel-netty

message.setHeader(NettyConstants.NETTY_SSL_CLIENT_CERT_SUBJECT_NAME, subject.getName());
Principal issuer = cert.getIssuerDN();
if (issuer != null) {
  message.setHeader(NettyConstants.NETTY_SSL_CLIENT_CERT_ISSUER_NAME, issuer.getName());

代码示例来源:origin: org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.gateway

String subjectDN = x509Certificate.getSubjectDN().getName();
String uniqueIdentifier = String
    .valueOf(x509Certificate.getSerialNumber() + "_" + x509Certificate.getIssuerDN()).replaceAll(",",
        "#").replaceAll("\"", "'").trim();
String tier = certificates.get(uniqueIdentifier);

相关文章