JavaTM Platform
Standard Ed. 6

java.security.cert
클래스 CertPathValidatorSpi

java.lang.Object 
  상위를 확장 java.security.cert.CertPathValidatorSpi


public abstract class CertPathValidatorSpi
extends Object

CertPathValidator 클래스의 서비스 프로바이더 인터페이스 (SPI)입니다. CertPathValidator 의 모든 구현에는, 이 CertPathValidatorSpi 클래스를 확장해 모든 메소드를 구현하는 클래스 (SPI 클래스)가 포함되지 않으면 안됩니다. 일반적으로, 이 클래스의 인스턴스에는,CertPathValidator 클래스를 개입시켜 액세스 할 필요가 있습니다. 자세한 것은, 「Java 암호화 아키텍쳐(architecture)」를 참조해 주세요.

병행 액세스  

이 클래스의 인스턴스는, 복수 thread로부터의 병행 액세스로부터 보호될 필요는 없습니다. 단일의 CertPathValidatorSpi 인스턴스에 병행 액세스 할 필요가 있는 thread는, 그러한 thread간에 동기를 잡아, 랩 하는 CertPathValidatorSpi 객체를 호출하기 전에 필요에 따라서 잠그지 않으면 안됩니다.  

그러나, 다른 CertPathValidatorSpi 인스턴스를 조작하는 복수 thread간으로는 동기를 잡을 필요가 없기 때문에,CertPathValidatorSpi 의 인스턴스는 병행성의 문제가 발생할 가능성이 있습니다.

도입된 버젼:
1.4

생성자 의 개요
CertPathValidatorSpi ()
          디폴트의 생성자 입니다.
 
메소드의 개요
abstract  CertPathValidatorResult engineValidate (CertPath  certPath, CertPathParameters  params)
          지정한 알고리즘의 파라미터 세트를 사용해, 지정한 증명서 패스를 검사합니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

CertPathValidatorSpi

public CertPathValidatorSpi()
디폴트의 생성자 입니다.

메소드의 상세

engineValidate

public abstract CertPathValidatorResult  engineValidate(CertPath  certPath,
                                                       CertPathParameters  params)
                                                throws CertPathValidatorException ,
                                                       InvalidAlgorithmParameterException 
지정한 알고리즘의 파라미터 세트를 사용해, 지정한 증명서 패스를 검사합니다.  

지정한 CertPath 는, 검사 알고리즘으로 지원되고 있는 타입이 아니면 안됩니다. 그렇지 않은 경우는,InvalidAlgorithmParameterException 가 throw 됩니다. 예를 들어, PKIX 알고리즘을 구현하는 CertPathValidator 에서는, 타입 X. 509 의 CertPath 객체를 검사합니다.

파라미터:
certPath - 검사하는 CertPath
params - 알고리즘 파라미터
반환값:
검사 알고리즘의 결과
예외:
CertPathValidatorException - CertPath 가 유효하지 않은 경우
InvalidAlgorithmParameterException - 지정된 파라미터인가, 지정된 CertPath 의 타입이, 이 CertPathValidator 에 대해서 올바르지 않은 경우

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.