Package com.yubico.yubikit.core.keys
Class PublicKeyValues.Cv25519
java.lang.Object
com.yubico.yubikit.core.keys.PublicKeyValues
com.yubico.yubikit.core.keys.PublicKeyValues.Cv25519
- Enclosing class:
- PublicKeyValues
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yubico.yubikit.core.keys.PublicKeyValues
PublicKeyValues.Cv25519, PublicKeyValues.Ec, PublicKeyValues.Rsa -
Field Summary
Fields inherited from class com.yubico.yubikit.core.keys.PublicKeyValues
bitLength -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yubico.yubikit.core.keys.PublicKeyValues
fromPublicKey, getBitLength
-
Constructor Details
-
Cv25519
-
-
Method Details
-
getCurveParams
-
getBytes
public byte[] getBytes() -
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin classPublicKeyValues
-
toPublicKey
Description copied from class:PublicKeyValuesInstantiates a JCA PublicKey using the contained parameters.This requires a SecurityProvider capable of handling the key type.
- Specified by:
toPublicKeyin classPublicKeyValues- Returns:
- a public key, usable for cryptographic operations
- Throws:
NoSuchAlgorithmException- if no Provider supports an implementation for the specified algorithm.InvalidKeySpecException- if the given key specification is inappropriate for this key factory to produce a public key.
-
toString
-