|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
public static interface XMLSignature.SignatureValue
「W3C Recommendation for XML-Signature Syntax and Processing 」로 정의되고 있는 XML SignatureValue 요소의 표현. XML schema 정의는, 다음과 같이 정의됩니다.
<element name="SignatureValue" type="ds:SignatureValueType"/>
<complexType name="SignatureValueType">
<simpleContent>
<extension base="base64Binary">
<attribute name="Id" type="ID" use="optional"/>
</extension>
</simpleContent>
</complexType>
| 메소드의 개요 | |
|---|---|
String |
getId ()
이 SignatureValue 의 생략 가능한 Id 속성을 돌려주어, 다른 장소로부터 이 요소가 참조되는 것을 허가합니다. |
byte[] |
getValue ()
이 SignatureValue 의 서명치를 돌려줍니다. |
boolean |
validate (XMLValidateContext validateContext)
서명치를 검증합니다. |
| 인터페이스 javax.xml.crypto. XMLStructure 로부터 상속된 메소드 |
|---|
isFeatureSupported |
| 메소드의 상세 |
|---|
String getId()
SignatureValue 의 생략 가능한 Id 속성을 돌려주어, 다른 장소로부터 이 요소가 참조되는 것을 허가합니다.
Id 속성. 지정되지 않은 경우는 null
도 가능byte[] getValue()
SignatureValue 의 서명치를 돌려줍니다.
XMLSignature
하지만 아직 서명되어 있지 않은 경우는 null. 이 메소드의 각 호출은,
이후의 변경으로부터 보호하기 위해서,
배열의 새로운 클론을 돌려줍니다.
boolean validate(XMLValidateContext validateContext)
throws XMLSignatureException
XMLSignature 의 SignedInfo 에 대해서 서명의 암호 검증을 실행합니다.
이 메소드는 서명이 최초로 불려 갔을 때 마셔 검증합니다. 다음번 이후의 호출에서는, 캐쉬된 결과를 돌려줍니다.
validateContext - 검증하는 문맥
true,
그렇지 않은 경우는 false
NullPointerException - validateContext 가
null 의 경우
XMLSignatureException - 서명의 검증중에 예상외의 예외가
발생했을 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.