PR - type of PrivateKey.PU - type of PublicKey.PAIR - type of AsymmetricKeyPair.public interface AsymmetricKeyPairFactory<PR extends PrivateKey,PU extends PublicKey,PAIR extends AsymmetricKeyPair<PR,PU>> extends PrivateKeyFactory<PR>, PublicKeyFactory<PU>, AsymmetricKeyPairFactorySimple<PR,PU,PAIR>
AsymmetricKeyPair, PrivateKey, and
PublicKey. It shall only be used internally (as SPI). End-users shall use
AsymmetricKeyCreator.| Modifier and Type | Method and Description |
|---|---|
default net.sf.mmm.binary.api.Binary |
asBinary(PAIR keyPair) |
byte[] |
asData(PAIR keyPair) |
PAIR |
createKeyPair(byte[] data) |
asBinary, asData, createPrivateKeyasBinary, asData, createPublicKeycreateKeyPairdefault net.sf.mmm.binary.api.Binary asBinary(PAIR keyPair)
keyPair - the AsymmetricKeyPair to serialize.Binary.byte[] asData(PAIR keyPair)
keyPair - the AsymmetricKeyPair to serialize.PAIR createKeyPair(byte[] data)
data - the AsymmetricKeyPair in its binary form.AsymmetricKeyPair.Copyright © 2001–2019 mmm-Team. All rights reserved.