Java Doc for X509Data.java in  » 6.0-JDK-Core » xml » javax » xml » crypto » dsig » keyinfo » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » xml » javax.xml.crypto.dsig.keyinfo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.xml.crypto.dsig.keyinfo.X509Data

X509Data
public interface X509Data extends XMLStructure(Code)
A representation of the XML X509Data element as defined in the W3C Recommendation for XML-Signature Syntax and Processing. An X509Data object contains one or more identifers of keys or X.509 certificates (or certificates' identifiers or a revocation list). The XML Schema Definition is defined as:
 <element name="X509Data" type="ds:X509DataType"/>
 <complexType name="X509DataType"> 
 <sequence maxOccurs="unbounded"> 
 <choice> 
 <element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
 <element name="X509SKI" type="base64Binary"/>
 <element name="X509SubjectName" type="string"/> 
 <element name="X509Certificate" type="base64Binary"/>
 <element name="X509CRL" type="base64Binary"/> 
 <any namespace="##other" processContents="lax"/>
 </choice>  
 </sequence>
 </complexType>
 <complexType name="X509IssuerSerialType"> 
 <sequence> 
 <element name="X509IssuerName" type="string"/> 
 <element name="X509SerialNumber" type="integer"/> 
 </sequence>
 </complexType>
 
An X509Data instance may be created by invoking the KeyInfoFactory.newX509Data newX509Data methods of the KeyInfoFactory class and passing it a list of one or more XMLStructure s representing X.509 content; for example:
 KeyInfoFactory factory = KeyInfoFactory.getInstance("DOM");
 X509Data x509Data = factory.newX509Data
 (Collections.singletonList("cn=Alice"));
 

author:
   Sean Mullan
author:
   JSR 105 Expert Group
since:
   1.6
See Also:   KeyInfoFactory.newX509Data(List)


Field Summary
final static  StringRAW_X509_CERTIFICATE_TYPE
     URI identifying the binary (ASN.1 DER) X.509 Certificate KeyInfo type: http://www.w3.org/2000/09/xmldsig#rawX509Certificate.
final static  StringTYPE
     URI identifying the X509Data KeyInfo type: http://www.w3.org/2000/09/xmldsig#X509Data.


Method Summary
 ListgetContent()
     Returns an java.util.Collections.unmodifiableList unmodifiable list of the content in this X509Data.

Field Detail
RAW_X509_CERTIFICATE_TYPE
final static String RAW_X509_CERTIFICATE_TYPE(Code)
URI identifying the binary (ASN.1 DER) X.509 Certificate KeyInfo type: http://www.w3.org/2000/09/xmldsig#rawX509Certificate. This can be specified as the value of the type parameter of the RetrievalMethod class to describe a remote X509 Certificate.



TYPE
final static String TYPE(Code)
URI identifying the X509Data KeyInfo type: http://www.w3.org/2000/09/xmldsig#X509Data. This can be specified as the value of the type parameter of the RetrievalMethod class to describe a remote X509Data structure.





Method Detail
getContent
List getContent()(Code)
Returns an java.util.Collections.unmodifiableList unmodifiable list of the content in this X509Data. Valid types are String (subject names), byte[] (subject key ids), java.security.cert.X509Certificate , X509CRL , or XMLStructure ( X509IssuerSerial objects or elements from an external namespace). an unmodifiable list of the content in this X509Data(never null or empty)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.