Located in compilation unit of sun.
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv static Key | |
private static PrivateKey | Returns: a private key constructed from the encodedKey.the encoding of a private key. encodedKey, String the algorithm the wrapped key is for. encodedKeyAlgorithm)Construct a private key from its encoding. |
private static PublicKey | Returns: a public key constructed from the encodedKey.the encoding of a public key. encodedKey, String the algorithm the encodedKey is for. encodedKeyAlgorithm)Construct a public key from its encoding. |
private static SecretKey | Returns: a secret key constructed from the encodedKey.the encoding of a secret key. encodedKey, String the algorithm the secret key is for. encodedKeyAlgorithm)Construct a secret key from its encoding. |
ConstructKeys | back to summary |
---|---|
pack-priv ConstructKeys() |
constructKey | back to summary |
---|---|
pack-priv static Key constructKey(byte[] encoding, String keyAlgorithm, int keyType) throws InvalidKeyException, NoSuchAlgorithmException |
constructPrivateKey | back to summary |
---|---|
private static PrivateKey constructPrivateKey(byte[] encodedKey, String encodedKeyAlgorithm) throws InvalidKeyException, NoSuchAlgorithmException Construct a private key from its encoding.
|
constructPublicKey | back to summary |
---|---|
private static PublicKey constructPublicKey(byte[] encodedKey, String encodedKeyAlgorithm) throws InvalidKeyException, NoSuchAlgorithmException Construct a public key from its encoding. |
constructSecretKey | back to summary |
---|---|
private static SecretKey constructSecretKey(byte[] encodedKey, String encodedKeyAlgorithm) Construct a secret key from its encoding. |