JavaTM Platform
Standard Ed. 6

java.security.cert
클래스 CollectionCertStoreParameters

java.lang.Object 
  상위를 확장 java.security.cert.CollectionCertStoreParameters
모든 구현된 인터페이스:
Cloneable , CertStoreParameters


public class CollectionCertStoreParameters
extends Object
implements CertStoreParameters

Collection CertStore 알고리즘의 입력으로 사용되는 파라미터입니다.  

이 클래스는, Collection CertStore 알고리즘의 구현에 필요한 구성 파라미터를 제공하기 위해서 사용됩니다. 이 클래스에 포함되는 유일한 파라미터는,CertStore 에 의한 증명서와 CRL 의 취득원으로서 사용되는 Collection 입니다.  

병행 액세스  

특별히 거절하지 않는 한, 이 클래스에서 정의되고 있는 메소드는 thread 세이프가 아닙니다. 단일의 객체에 병행 액세스 할 필요가 있는 복수 thread는, thread간에 동기를 잡아, 필요에 따라서 잠글 필요가 있습니다. 복수의 thread가 각각 개별의 객체를 처리하는 경우, 그러한 thread는 동기 할 필요는 없습니다.

도입된 버젼:
1.4
관련 항목:
Collection , CertStore

생성자 의 개요
CollectionCertStoreParameters ()
          디폴트의 파라미터치 첨부의 CollectionCertStoreParameters 의 인스턴스 (빈 상태(empty)에서 불변의 Collection)를 작성합니다.
CollectionCertStoreParameters (Collection <? > collection)
          지정한 Collection 로부터 증명서와 CRL 를 취득할 수 있는 것 같은 CollectionCertStoreParameters 의 인스턴스를 작성합니다.
 
메소드의 개요
 Object clone ()
          이 객체의 복제를 돌려줍니다.
 Collection <? > getCollection ()
          CertificateCRL 가 취득되는 Collection 를 돌려줍니다.
 String toString ()
          파라미터를 설명하는 서식 첨부 캐릭터 라인을 돌려줍니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

CollectionCertStoreParameters

public CollectionCertStoreParameters(Collection <? > collection)
지정한 Collection 로부터 증명서와 CRL 를 취득할 수 있는 것 같은 CollectionCertStoreParameters 의 인스턴스를 작성합니다. 지정된 CollectionCertificateCRL 가 포함되지 않는 경우, 해당하는 CollectionCertStore 에 의해 무시됩니다.  

Collection 는 복제되지 않습니다. 대신에, 참조가 사용됩니다. 참조를 사용하는 것으로, 호출측이 CertificatesCRLCollection 에 대해서 연속해 추가나 삭제를 할 수 있기 (위해)때문에, 이용 가능한 CertificatesCRL 세트를 Collection CertStore 로 바꿀 수가 있습니다. Collection CertStore 에서는,Collection 의 내용을 변경하지 않습니다.  

Collection 로 초기화된 Collection CertStore 의 메소드를 있는 thread가 호출하고 있을 때, 그 Collection 가 변경되는 경우, 그 Collection 에는 fail-fast 반복자가 필요합니다.

파라미터:
collection - CertificateCRLCollection
예외:
NullPointerException - collectionnull 의 경우

CollectionCertStoreParameters

public CollectionCertStoreParameters()
디폴트의 파라미터치 첨부의 CollectionCertStoreParameters 의 인스턴스 (빈 상태(empty)에서 불변의 Collection)를 작성합니다.

메소드의 상세

getCollection

public Collection <? > getCollection()
CertificateCRL 가 취득되는 Collection 를 돌려줍니다. 이것은 Collection 의 복제는 아니고, 참조입니다. 참조를 사용하는 것으로, 호출측이 CertificatesCRLCollection 에 대해서 연속해 추가나 삭제를 할 수 있습니다.

반환값:
Collection. null 는 되지 않는다

clone

public Object  clone()
이 객체의 복제를 돌려줍니다. Collection 의 참조만이 복제되어 내용은 복제되지 않습니다.

정의:
인터페이스 CertStoreParameters 내의 clone
오버라이드(override):
클래스 Object 내의 clone
반환값:
카피
관련 항목:
Cloneable

toString

public String  toString()
파라미터를 설명하는 서식 첨부 캐릭터 라인을 돌려줍니다.

오버라이드(override):
클래스 Object 내의 toString
반환값:
파라미터를 설명하는 서식 첨부 캐릭터 라인

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