|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 차의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.security.KeyRep
public class KeyRep
직렬화 된 Key 객체의 표준화 된 표현입니다.
직렬화 된 Key 에는, 신뢰할 수 없는 환경에서는 공개 해서는 안된 기밀 정보가 포함될 가능성이 있는 점에 주의해 주세요. 자세한 것은, 직렬화 스펙의시큐리티에 관한 부록을 참조해 주세요.
Key
,
KeyFactory
,
SecretKeySpec
,
X509EncodedKeySpec
,
PKCS8EncodedKeySpec
,
직렬화 된 형식 상자의 클래스의 개요 | |
---|---|
static class |
KeyRep.Type
열쇠의 타입입니다. |
생성자 의 개요 | |
---|---|
KeyRep (KeyRep.Type type,
String algorithm,
String format,
byte[] encoded)
대체 Key 클래스를 구축합니다. |
메소드의 개요 | |
---|---|
protected Object |
readResolve ()
Key 객체를 해결합니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public KeyRep(KeyRep.Type type, String algorithm, String format, byte[] encoded)
type
- Type.SECRET, Type.PUBLIC, 또는 Type.PRIVATE 의 어느쪽이든algorithm
- Key.getAlgorithm()
로부터 반환된 알고리즘format
- Key.getFormat()
로부터 반환된 encode 형식encoded
- Key.getEncoded()
로부터 반환된 encode가 끝난 바이트
NullPointerException
- type, algorithm, format, 또는 encoded 중 한쪽이 null
인 경우
메소드의 상세 |
---|
protected Object readResolve() throws ObjectStreamException
이 메소드가 지원하는 타입/형식의 편성은, 다음의 3 개입니다.
ObjectStreamException
- 타입/형식의 편성을 인식할 수 없는 경우, 열쇠의 알고리즘, 형식, encode 바이트를 인식할 수 없는가 무효인 경우, 또는 열쇠의 해결이 하등의 이유로써 실패했을 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 차의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.