IdentityScope — 식별자 범위 클래스(더 이상 사용되지 않음)

IdentityScope — 식별자 범위 클래스(더 이상 사용되지 않음)

식별자(identity)의 범위를 나타내는 클래스예요. 자체가 Identity이므로 이름을 가지며 범위를 가질 수 있어요. @Deprecated(since="1.2", forRemoval=true)로 표시되어 향후 제거될 예정이에요.

출처: Java API Reference

본문

protected IdentityScope()

직렬화 전용 생성자이며 서브클래스에서 사용하면 안 돼요. [Deprecated]

public IdentityScope(String name)

지정된 이름으로 새 식별자 범위를 구성해요. [Deprecated]

public IdentityScope(String name, IdentityScope scope) throws KeyManagementException

지정된 이름과 범위로 새 식별자 범위를 구성해요. [Deprecated]

public static IdentityScope getSystemScope()

시스템의 식별자 범위를 반환해요. [Deprecated]

protected static void setSystemScope(IdentityScope scope)

시스템의 식별자 범위를 설정해요. [Deprecated]

public abstract int size()

이 식별자 범위 안의 식별자 수를 반환해요. [Deprecated]

public abstract Identity getIdentity(String name)

이 범위에서 지정된 이름을 가진 Identity를 반환해요(있으면). [Deprecated]

public Identity getIdentity(Principal principal)

지정된 주체와 같은 이름을 가진 Identity를 가져와요. [Deprecated]

public abstract Identity getIdentity(PublicKey key)

지정된 공개 키를 가진 식별자를 가져와요. [Deprecated]

public abstract void addIdentity(Identity identity) throws KeyManagementException

이 식별자 범위에 Identity를 추가해요. [Deprecated]

public abstract void removeIdentity(Identity identity) throws KeyManagementException

이 식별자 범위에서 Identity를 제거해요. [Deprecated]

public abstract Enumeration<Identity> identities()

이 식별자 범위의 모든 식별자의 열거를 반환해요. [Deprecated]

public String toString()

이 식별자 범위의 이름, 범위 이름, 식별자 수를 포함한 문자열 표현을 반환해요. [Deprecated]

더 알아보기 (Learn more)