|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Object java.security.cert.PKIXCertPathValidatorResult java.security.cert.PKIXCertPathBuilderResult
public class PKIXCertPathBuilderResult
PKIX 증명서 패스 구축 알고리즘에 의해 성공한 결과를 나타냅니다. 이 알고리즘으로 구축해, 반환된 증명서 패스는, PKIX 증명서 패스 검사 알고리즘에 의해 검사필이기도 합니다.
PKIXCertPathBuilderResult
의 인스턴스는, PKIX 알고리즘을 구현한 CertPathBuilder
객체의 build
메소드에 의해 돌려주어집니다.
모든 PKIXCertPathBuilderResult
객체에는, 구축 알고리즘으로 구축된 증명서 패스, 구축 알고리즘의 결과 얻을 수 있던 유효한 정책 트리와 피인증자의 공개키, 그리고, 증명서 패스의 트러스트 엥커로서 기능하는 증명서 발행국 (CA)을 기술하는 TrustAnchor
가 포함되어 있습니다.
병행 액세스
특별히 거절하지 않는 한, 이 클래스에서 정의되고 있는 메소드는 thread 세이프가 아닙니다. 단일의 객체에 병행 액세스 할 필요가 있는 복수 thread는, thread간에 동기를 잡아, 필요에 따라서 잠글 필요가 있습니다. 복수의 thread가 각각 개별의 객체를 처리하는 경우, 그러한 thread는 동기 할 필요는 없습니다.
CertPathBuilderResult
생성자 의 개요 | |
---|---|
PKIXCertPathBuilderResult (CertPath certPath,
TrustAnchor trustAnchor,
PolicyNode policyTree,
PublicKey subjectPublicKey)
지정된 파라미터를 포함한 PKIXCertPathBuilderResult 의 인스턴스를 작성합니다. |
메소드의 개요 | |
---|---|
CertPath |
getCertPath ()
구축 및 검사필의 증명서 패스를 돌려줍니다. |
String |
toString ()
이 PKIXCertPathBuilderResult 의 프린트 가능 표현을 돌려줍니다. |
클래스 java.security.cert. PKIXCertPathValidatorResult 로부터 상속된 메소드 |
---|
clone , getPolicyTree , getPublicKey , getTrustAnchor |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
인터페이스 java.security.cert. CertPathBuilderResult 로부터 상속된 메소드 |
---|
clone |
생성자 의 상세 |
---|
public PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
PKIXCertPathBuilderResult
의 인스턴스를 작성합니다.
certPath
- 검사필의 CertPath
trustAnchor
- 증명서 패스의 트러스트 엥커로서 기능하는 CA 를 기술하는 TrustAnchor
policyTree
- 불변으로 유효한 정책 트리. 유효한 정책가 없는 경우는 null
subjectPublicKey
- 피인증자의 공개키
NullPointerException
- certPath
,trustAnchor
,subjectPublicKey
의 몇개의 파라미터가 null
의 경우메소드의 상세 |
---|
public CertPath getCertPath()
CertPath
객체에는 트러스트 엥커는 포함되지 않습니다. 대신에 getTrustAnchor()
메소드를 사용해, 증명서 패스의 트러스트 엥커로서 기능하는 TrustAnchor
를 가져옵니다.
CertPathBuilderResult
내의 getCertPath
CertPath
. null
는 되지 않는다public String toString()
PKIXCertPathBuilderResult
의 프린트 가능 표현을 돌려줍니다.
PKIXCertPathValidatorResult
내의 toString
PKIXCertPathBuilderResult
의 내용을 나타내는 String
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.