|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.security.spec.EncodedKeySpec
java.security.spec.PKCS8EncodedKeySpec
public class PKCS8EncodedKeySpec
ASN. 1 PrivateKeyInfo
로 지정된 형식에 따라 encode 된, 비공개키의 ASN. 1 에서의 encode를 나타냅니다. PrivateKeyInfo
의 구문은 다음대로 PKCS#8 표준으로 정의합니다.
PrivateKeyInfo ::= SEQUENCE { version Version, privateKeyAlgorithm PrivateKeyAlgorithmIdentifier, privateKey PrivateKey, attributes [0] IMPLICIT Attributes OPTIONAL } Version ::= INTEGER PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier PrivateKey ::= OCTET STRING Attributes ::= SET OF Attribute
Key
,
KeyFactory
,
KeySpec
,
EncodedKeySpec
,
X509EncodedKeySpec
생성자 의 개요 | |
---|---|
PKCS8EncodedKeySpec (byte[] encodedKey)
지정의 encode 된 열쇠를 사용해 새로운 PKCS8EncodedKeySpec 를 작성합니다. |
메소드의 개요 | |
---|---|
byte[] |
getEncoded ()
PKCS #8 표준에 따라 encode 된 열쇠의 바이트를 돌려줍니다. |
String |
getFormat ()
이 열쇠 스펙에 관련한 encode 형식의 이름을 돌려줍니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public PKCS8EncodedKeySpec(byte[] encodedKey)
encodedKey
- 열쇠. PKCS #8 표준에 따라 encode 되고 있는 것으로 한다
이 배열의 내용은, 후속의 변경에 영향을 받지 않게 카피된다
NullPointerException
- encodedKey
가 null 의 경우메소드의 상세 |
---|
public byte[] getEncoded()
EncodedKeySpec
내의 getEncoded
public final String getFormat()
EncodedKeySpec
내의 getFormat
「PKCS#8」
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.