JavaTM Platform
Standard Ed. 6

클래스
java.security.cert.CertificateException 의 사용

CertificateException 을 사용하고 있는 패키지
java.security 시큐리티 시스템의 클래스와 인터페이스를 제공합니다.  
java.security.cert 증명서, 증명서의 취소 리스트 (CRL), 증명서 패스를 해석 및 관리하기 위한 클래스와 인터페이스를 제공합니다.  
javax.net.ssl 시큐어 소켓 패키지의 클래스를 제공합니다.  
 

java.security 에서의 CertificateException 의 사용
 

CertificateException 를 throw 하는 java.security 의 메소드
abstract  void KeyStoreSpi. engineLoad (InputStream  stream, char[] password)
          지정된 입력 스트림로부터 키스토어를 로드합니다.
 void KeyStoreSpi. engineLoad (KeyStore.LoadStoreParameter  param)
          지정된 KeyStore.LoadStoreParameter 를 사용해 키스토어를 로드합니다.
 void KeyStoreSpi. engineStore (KeyStore.LoadStoreParameter  param)
          지정된 KeyStore.LoadStoreParmeter 를 사용해 키스토어를 포함합니다.
abstract  void KeyStoreSpi. engineStore (OutputStream  stream, char[] password)
          지정된 출력 스트림에 이 키스토어를 포함해, 지정된 패스워드로 그 무결성을 보호합니다.
 void KeyStore. load (InputStream  stream, char[] password)
          지정된 입력 스트림로부터 이 키스토어를 로드합니다.
 void KeyStore. load (KeyStore.LoadStoreParameter  param)
          지정된 LoadStoreParameter 를 사용해 이 키스토어를 로드합니다.
 void KeyStore. store (KeyStore.LoadStoreParameter  param)
          지정된 LoadStoreParameter 를 사용해 이 키스토어를 포함합니다.
 void KeyStore. store (OutputStream  stream, char[] password)
          지정된 출력 스트림에 이 키스토어를 포함해, 지정된 패스워드로 그 무결성을 보호합니다.
 

java.security.cert 에서의 CertificateException 의 사용
 

java.security.cert 에서의 CertificateException 의 서브 클래스
 class CertificateEncodingException
          증명서의 encode 예외입니다.
 class CertificateExpiredException
          증명서의 기한 마감의 예외입니다.
 class CertificateNotYetValidException
          증명서가 아직 유효하지 않는 것을 나타내는 예외입니다.
 class CertificateParsingException
          증명서 구문 분석 예외입니다.
 

CertificateException 를 throw 하는 java.security.cert 의 메소드
abstract  Certificate CertificateFactorySpi. engineGenerateCertificate (InputStream  inStream)
          증명서 객체를 생성해, 입력 스트림 inStream 로부터 읽어내진 데이터를 사용해 그 증명서 객체를 초기화합니다.
abstract  Collection <? extends Certificate > CertificateFactorySpi. engineGenerateCertificates (InputStream  inStream)
          지정된 입력 스트림 inStream 로부터 읽어내진 증명서의 코레크션뷰를 돌려줍니다.
 CertPath CertificateFactorySpi. engineGenerateCertPath (InputStream  inStream)
          CertPath 객체를 생성해,InputStream 인 inStream 로부터 읽힌 데이터로 초기화합니다.
 CertPath CertificateFactorySpi. engineGenerateCertPath (InputStream  inStream, String  encoding)
          CertPath 객체를 생성해,InputStream 인 inStream 로부터 읽힌 데이터로 초기화합니다.
 CertPath CertificateFactorySpi. engineGenerateCertPath (List <? extends Certificate > certificates)
          CertPath 객체를 생성해,CertificateList 로 초기화합니다.
 Certificate CertificateFactory. generateCertificate (InputStream  inStream)
          증명서 객체를 생성해, 입력 스트림 inStream 로부터 읽어내진 데이터를 사용해 그 증명서 객체를 초기화합니다.
 Collection <? extends Certificate > CertificateFactory. generateCertificates (InputStream  inStream)
          지정된 입력 스트림 inStream 로부터 읽어내진 증명서의 코레크션뷰를 돌려줍니다.
 CertPath CertificateFactory. generateCertPath (InputStream  inStream)
          CertPath 객체를 생성해,InputStream 인 inStream 로부터 읽힌 데이터로 초기화합니다.
 CertPath CertificateFactory. generateCertPath (InputStream  inStream, String  encoding)
          CertPath 객체를 생성해,InputStream 인 inStream 로부터 읽힌 데이터로 초기화합니다.
 CertPath CertificateFactory. generateCertPath (List <? extends Certificate > certificates)
          CertPath 객체를 생성해,CertificateList 로 초기화합니다.
static CertificateFactory CertificateFactory. getInstance (String  type)
          지정된 타입의 증명서를 구현하는 증명서 팩토리 객체를 돌려줍니다.
static CertificateFactory CertificateFactory. getInstance (String  type, Provider  provider)
          지정된 타입의 증명서 팩토리 객체를 돌려줍니다.
static CertificateFactory CertificateFactory. getInstance (String  type, String  provider)
          지정된 타입의 증명서 팩토리 객체를 돌려줍니다.
abstract  void Certificate. verify (PublicKey  key)
          지정된 공개키에 대응하는 비공개키를 사용해, 이 증명서가 서명된 것을 검증합니다.
abstract  void Certificate. verify (PublicKey  key, String  sigProvider)
          지정된 공개키에 대응하는 비공개키를 사용해, 이 증명서가 서명된 것을 검증합니다.
 

javax.net.ssl 에서의 CertificateException 의 사용
 

CertificateException 를 throw 하는 javax.net.ssl 의 메소드
 void X509TrustManager. checkClientTrusted (X509Certificate [] chain, String  authType)
          피어로부터 제출된 일부의 또는 완전한 증명서 체인을 사용해, 신뢰할 수 있는 루트에의 증명서 패스를 구축해, 인증 타입에 근거해 클라이언트 SSL 인증을 검증할 수 있을지 어떨지, 신뢰할 수 있을지 어떨지를 돌려줍니다.
 void X509TrustManager. checkServerTrusted (X509Certificate [] chain, String  authType)
          피어로부터 제출된 일부의 또는 완전한 증명서 체인을 사용해, 신뢰할 수 있는 루트에의 증명서 패스를 구축해, 인증 타입에 근거해 서버 SSL 인증을 검증할 수 있을지 어떨지, 또 신뢰할 수 있을지 어떨지를 돌려줍니다.
 


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 도 참조해 주세요.