public interface X509IssuerSerial extends XMLStructure
X509IssuerSerial元在
W3C Recommendation for XML-Signature Syntax and Processing定义。一个
X509IssuerSerial对象包含一个X.509证书发行人专有名称(DN)和序列号对。XML架构定义的定义是:一个
X509IssuerSerial
<元名称=“x509issuerserial”type=“ds:x509issuerserialtype” />< complexType名称=“x509issuerserialtype”>
<序>
<元名称=“x509issuername”type=“字符串” />
<元名称=“x509serialnumber”type=“整数” />< /序列>< /名称>
序>实例可以通过调用类的
KeyInfoFactory
newX509IssuerSerial方法创建的,并通过这一
String和
BigInteger代表X.500 DN和序列号。这里是创建从发行人DN和现有的
X509Certificate序列号的
X509IssuerSerial例:
keyinfofactory厂= keyinfofactory getInstance(DOM);x509issuerserial发行人= factory.newx509issuerserial(证书getissuerx500principal()。getname(),证书getserialnumber());
X509Data.getContent(),
KeyInfoFactory.newX509IssuerSerial(String, BigInteger)
| Modifier and Type | Method and Description |
|---|---|
String |
getIssuerName()
返回X.500区分这
X509IssuerSerial名字
RFC 2253字符串格式。
|
BigInteger |
getSerialNumber()
返回该
X509IssuerSerial序号。
|
isFeatureSupportedString getIssuerName()
X509IssuerSerial名字
RFC 2253字符串格式。
null)
BigInteger getSerialNumber()
X509IssuerSerial序号。
null)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.