|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.security.KeyStore.PasswordProtection
public static class KeyStore.PasswordProtection
ProtectionParameter
의 패스워드 베이스의 구현입니다.
생성자 의 개요 | |
---|---|
KeyStore.PasswordProtection (char[] password)
패스워드 파라미터를 작성합니다. |
메소드의 개요 | |
---|---|
void |
destroy ()
패스워드를 클리어 합니다. |
char[] |
getPassword ()
패스워드를 가져옵니다. |
boolean |
isDestroyed ()
패스워드가 클리어 되고 있는지 어떤지를 판정합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public KeyStore.PasswordProtection(char[] password)
지정된 password
는, 복제되고 나서 새로운 PasswordProtection
객체에 포함됩니다.
password
- 패스워드. null
의 경우도 있다메소드의 상세 |
---|
public char[] getPassword()
이 메소드는 패스워드에의 참조를 돌려줍니다. 이 배열의 복제를 작성했을 경우, 불필요하게 된 패스워드 정보는, 호출측에서 제로로 할 (소거할) 필요가 있습니다.
null
의 경우도 있다
IllegalStateException
- 패스워드가 클리어 (파기) 되고 있는 경우destroy()
public void destroy() throws DestroyFailedException
Destroyable
내의 destroy
DestroyFailedException
- 이 메소드가 패스워드를 클리어 할 수 없었던 경우public boolean isDestroyed()
Destroyable
내의 isDestroyed
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.