| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if both keys are instances of the public key type associated with the security provider
and they are equal.the first key k1, PublicKey the second key k2)
|
| public boolean | Returns: true if both keys are instances of the private key type associated with the security provider
and they are equal.the first key k1, PrivateKey the second key k2)
|
| public KeySpec | |
| public KeySpec | |
| public static KeyPair | Returns: aKeyPair from the given raw private key data.the raw private key bytes. keyData)
|
| public static PrivateKey | |
| public PRV | |
| public PUB | |
| public int | Returns: the size of the key if it is an EdDSA key, -1 otherwise.the key to get the size of. key)
|
| public Class | |
| public PublicKeyEntryDecoder | Returns: the public key entry decoder implementation associated with the security provider.
|
| public Class | |
| public Signature | |
| public String | Returns: the algorithm name used by the provider'sjava..
|
| public PrivateKeyEntryDecoder | Returns: the private key entry decoder implementation associated with the security provider.
|
| public byte[] | Returns: the raw private key bytes associated with the keythe private key privateKey)
|
| public byte[] | Returns: the raw public key bytes associated with the keythe public key publicKey)
|
| public < type of the buffer B extends Buffer> B | Returns: the buffer that was passed inthe buffer to insert the keys into buffer, PublicKey the public key to be inserted into the buffer pubKey, PrivateKey the private key to be inserted into the buffer prvKey)
|
| public < type of the buffer B extends Buffer> B | Returns: the buffer that was passed inthe buffer to insert the public key into buffer, PublicKey the public key to be inserted into the buffer key)
|
| public PUB | Returns: the public key associated with the private key.the private key key)
|
| ED25519_OID | back to summary |
|---|---|
public static final String ED25519_OID
| |
| KEY_SIZE | back to summary |
|---|---|
| public static final int KEY_SIZE | |
| compareEDDSAPPublicKeys | back to summary |
|---|---|
| public boolean compareEDDSAPPublicKeys(PublicKey k1, PublicKey k2) | |
| compareEDDSAPrivateKeys | back to summary |
|---|---|
public boolean compareEDDSAPrivateKeys(PrivateKey k1, PrivateKey k2)
| |
| createPrivateKeySpec | back to summary |
|---|---|
public KeySpec createPrivateKeySpec(PRV privateKey)
| |
| createPublicKeySpec | back to summary |
|---|---|
public KeySpec createPublicKeySpec(PUB publicKey)
| |
| decodeEd25519KeyPair | back to summary |
|---|---|
| public static KeyPair decodeEd25519KeyPair(byte[] keyData) throws IOException, GeneralSecurityException | |
| decodeEdDSAPrivateKey | back to summary |
|---|---|
public static PrivateKey decodeEdDSAPrivateKey(byte[] keyData) throws IOException, GeneralSecurityException
| |
| generateEDDSAPrivateKey | back to summary |
|---|---|
public PRV generateEDDSAPrivateKey(byte[] seed) throws GeneralSecurityException, IOException
| |
| generateEDDSAPublicKey | back to summary |
|---|---|
public PUB generateEDDSAPublicKey(byte[] seed) throws GeneralSecurityException
| |
| getEDDSAKeySize | back to summary |
|---|---|
public int getEDDSAKeySize(Key key)
| |
| getEDDSAPrivateKeyType | back to summary |
|---|---|
public Class
| |
| getEDDSAPublicKeyEntryDecoder | back to summary |
|---|---|
public PublicKeyEntryDecoder
| |
| getEDDSAPublicKeyType | back to summary |
|---|---|
| public Class | |
| getEDDSASigner | back to summary |
|---|---|
public Signature getEDDSASigner()
| |
| getKeyFactoryAlgorithm | back to summary |
|---|---|
public String getKeyFactoryAlgorithm()
| |
| getOpenSSHEDDSAPrivateKeyEntryDecoder | back to summary |
|---|---|
public PrivateKeyEntryDecoder
| |
| getPrivateKeyData | back to summary |
|---|---|
public byte[] getPrivateKeyData(PRV privateKey) throws IOException
| |
| getPublicKeyData | back to summary |
|---|---|
public byte[] getPublicKeyData(PUB publicKey)
| |
| putEDDSAKeyPair | back to summary |
|---|---|
public <B extends Buffer> B putEDDSAKeyPair(B buffer, PublicKey pubKey, PrivateKey prvKey)
| |
| putRawEDDSAPublicKey | back to summary |
|---|---|
public <B extends Buffer> B putRawEDDSAPublicKey(B buffer, PublicKey key)
| |
| recoverEDDSAPublicKey | back to summary |
|---|---|
public PUB recoverEDDSAPublicKey(PrivateKey key) throws GeneralSecurityException
| |