Package io.aether.crypto
Class PairAsymKeysSigned
- java.lang.Object
-
- io.aether.crypto.PairAsymKeysSigned
-
- All Implemented Interfaces:
CryptoProviderUnit,PairKeys
public class PairAsymKeysSigned extends java.lang.Object implements PairKeys
-
-
Field Summary
Fields Modifier and Type Field Description AKey.AsymmetricPrivateprivateKeySignedKeypublicKey
-
Constructor Summary
Constructors Constructor Description PairAsymKeysSigned(SignedKey publicKey, AKey.AsymmetricPrivate privateKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoProvidergetCryptoProvider()AKey.AsymmetricPrivategetPrivateKey()java.lang.StringgetProviderName()AKey.AsymmetricPublicgetPublicKey()SignedKeygetPublicKeySigned()static PairAsymKeysSignedof(io.aether.api.common.PairKeysAsymSigned k)static PairAsymKeysSignedof(java.lang.String k)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.aether.crypto.PairKeys
toCryptoEngine
-
-
-
-
Field Detail
-
publicKey
public final SignedKey publicKey
-
privateKey
public final AKey.AsymmetricPrivate privateKey
-
-
Constructor Detail
-
PairAsymKeysSigned
public PairAsymKeysSigned(SignedKey publicKey, AKey.AsymmetricPrivate privateKey)
-
-
Method Detail
-
getProviderName
public java.lang.String getProviderName()
- Specified by:
getProviderNamein interfaceCryptoProviderUnit
-
getCryptoProvider
public CryptoProvider getCryptoProvider()
- Specified by:
getCryptoProviderin interfaceCryptoProviderUnit
-
getPrivateKey
public AKey.AsymmetricPrivate getPrivateKey()
- Specified by:
getPrivateKeyin interfacePairKeys
-
getPublicKeySigned
public SignedKey getPublicKeySigned()
-
getPublicKey
public AKey.AsymmetricPublic getPublicKey()
- Specified by:
getPublicKeyin interfacePairKeys
-
of
public static PairAsymKeysSigned of(io.aether.api.common.PairKeysAsymSigned k)
-
of
public static PairAsymKeysSigned of(java.lang.String k)
-
-