|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
public interface X509Data
「W3C Recommendation for XML-Signature Syntax and Processing 」로 정의되고 있는 XML X509Data
요소의 표현. X509Data
객체에는, 열쇠의 식별자 또는 X. 509 증명서 (또는 증명서의 식별자 또는 취소해 리스트)가 1 개 이상 포함되고 있습니다. XML schema 정의는, 다음과 같이 정의됩니다.
<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>
X509Data
인스턴스는,KeyInfoFactory
클래스의 newX509Data
메소드를 호출해, 그것을 X. 509 컨텐츠를 표현하는 1 개(살) 이상 XMLStructure
의 리스트에 건네주는 것에 의해 작성됩니다. 다음에 예를 나타냅니다.
KeyInfoFactory factory = KeyInfoFactory.getInstance("DOM"); X509Data x509Data = factory.newX509Data (Collections.singletonList("cn=Alice"));
KeyInfoFactory.newX509Data(List)
필드의 개요 | |
---|---|
static String |
RAW_X509_CERTIFICATE_TYPE
바이너리 (ASN. 1 DER) X. 509 증명서 KeyInfo 형을 식별하는 URI: http://www.w3.org/2000/09/xmldsig#rawX509Certificate. |
static String |
TYPE
X509Data KeyInfo 형을 식별하는 URI: http://www.w3.org/2000/09/xmldsig#X509Data. |
메소드의 개요 | |
---|---|
List |
getContent ()
이 X509Data 의 컨텐츠의변경 불가능한 리스트 를 돌려줍니다. |
인터페이스 javax.xml.crypto. XMLStructure 로부터 상속된 메소드 |
---|
isFeatureSupported |
필드의 상세 |
---|
static final String TYPE
RetrievalMethod
클래스의 type
파라미터의 값으로 해서 지정해, 원격의 X509Data
구조를 기술할 수 있습니다.
static final String RAW_X509_CERTIFICATE_TYPE
RetrievalMethod
클래스의 type
파라미터의 값으로 해서 지정해, 원격의 X509 증명서를 기술할 수 있습니다.
메소드의 상세 |
---|
List getContent()
X509Data
의 컨텐츠의변경 불가능한 리스트
를 돌려줍니다. 유효한 형태는,String
(피인증자명),byte[]
(피인증자의 열쇠 식별자),X509Certificate
,X509CRL
, 또는 XMLStructure
(X509IssuerSerial
객체 또는 외부 이름 공간으로부터의 요소)입니다.
X509Data
내의 컨텐츠의 변경 불가능한 리스트.
null
또는 공문자열은 되지 않는다
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.