public interface X509Data extends XMLStructure
X509Data
元在
W3C Recommendation for XML-Signature Syntax and Processing定义。一个
X509Data
对象包含一个或多个标识符按键或X.509证书(或证书标识符或吊销列表)。XML架构定义的定义是:一个
X509Data
<元名称=“x509data”type=“ds:x509datatype” />< complexType名称=“x509datatype”> <序列maxoccurs =“无界”> <选择> <元名称=“x509issuerserial”type=“ds:x509issuerserialtype” /> <元名称=“x509ski”type=“base64binary” /> <元名称=“x509subjectname”type=“字符串” /> <元名称=“x509certificate”type=“base64binary” /> <元名称=“x509crl”type=“base64binary” /> <命名空间=“# #其他“processcontents="“宽松”/"> < /选择>< /序列>< /名称>< complexType名称=“x509issuerserialtype”> <序> <元名称=“x509issuername”type=“字符串” /> <元名称=“x509serialnumber”type=“整数” />< /序列>< /名称> 序> 命名空间=“#> 选择> 序列maxoccurs>实例可以通过调用类的
KeyInfoFactory
newX509Data
方法和通过一个或多个代表
XMLStructure
s X.509内容创造的;例如:
keyinfofactory厂= keyinfofactory getInstance(DOM);x509data x509data = factory.newx509data(集合。singletonlist(CN =爱丽丝));
KeyInfoFactory.newX509Data(List)
Modifier and Type | Field and Description |
---|---|
static String |
RAW_X509_CERTIFICATE_TYPE
URI识别二进制(ASN。1德)的X.509证书消息类型:HTTP:/ /两。org / 2000 / 09 / xmldsig # rawx509certificate。
|
static String |
TYPE
URI标识x509data消息类型:HTTP:/ /两。org / 2000 / 09 / xmldsig # x509data。
|
Modifier and Type | Method and Description |
---|---|
List |
getContent()
返回在这
X509Data 含量
unmodifiable list 。
|
isFeatureSupported
static final String TYPE
RetrievalMethod
班
type
参数来描述远程
X509Data
结构的价值。
static final String RAW_X509_CERTIFICATE_TYPE
RetrievalMethod
班
type
参数来描述远程X509证书的价值。
List getContent()
X509Data
含量
unmodifiable list
。有效的类型
String
(课题名称),
byte[]
(主题密钥ID),
X509Certificate
,
X509CRL
,或
XMLStructure
(
X509IssuerSerial
对象或元素从外部命名空间)。
X509Data
内容的一个不可修改的列表(不
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.