Identity — 식별자 클래스(더 이상 사용되지 않음)
Identity — 식별자 클래스(더 이상 사용되지 않음)
사람, 회사, 조직 같은 실세계 객체(공개 키로 인증될 수 있는 정체성)를 나타내는 클래스예요. @Deprecated(since="1.2", forRemoval=true)로 표시되어 향후 제거될 예정이에요.
본문
protected Identity()
직렬화 전용 생성자예요. [Deprecated]
public Identity(String name, IdentityScope scope) throws KeyManagementException
지정된 이름과 범위로 Identity를 구성해요. [Deprecated]
public Identity(String name)
지정된 이름과 범위 없는 Identity를 구성해요. [Deprecated]
public final String getName()
이 식별자의 이름을 반환해요. [Deprecated]
public final IdentityScope getScope()
이 식별자의 범위를 반환해요. [Deprecated]
public PublicKey getPublicKey()
이 식별자의 공개 키를 반환해요. [Deprecated]
public void setPublicKey(PublicKey key) throws KeyManagementException
이 식별자의 공개 키를 설정해요. [Deprecated]
public void setInfo(String info)
이 Identity의 일반 정보 문자열을 지정해요. [Deprecated]
public String getInfo()
이 Identity에 이전에 지정된 일반 정보를 반환해요. [Deprecated]
public void addCertificate(Certificate certificate) throws KeyManagementException
이 Identity에 인증서를 추가해요. [Deprecated]
public void removeCertificate(Certificate certificate) throws KeyManagementException
이 Identity에서 인증서를 제거해요. [Deprecated]
public Certificate[] certificates()
이 Identity의 모든 인증서의 복사본을 반환해요. [Deprecated]
public final boolean equals(Object identity)
지정된 객체와 이 Identity가 같은지 검사해요. [Deprecated]
protected boolean identityEquals(Identity identity)
지정된 Identity와 이 Identity가 같은지 검사해요. 서브클래스에서 재정의해야 해요. [Deprecated]
public String toString()
이 Identity의 이름과 범위를 설명하는 짧은 문자열을 반환해요. [Deprecated]
public String toString(boolean detailed)
이 Identity의 문자열 표현을 반환해요. [Deprecated]
public int hashCode()
이 Identity의 해시 코드를 반환해요. [Deprecated]