Class EncodedPublicKey
- java.lang.Object
-
- net.ripe.rpki.commons.crypto.util.EncodedPublicKey
-
- All Implemented Interfaces:
Serializable,Key,PublicKey
public class EncodedPublicKey extends Object implements PublicKey
While software keys can be persisted nCipher keys cannot. For KeyPairEntity we put them into a keystore but that did not fit into the architecture for ResourceCertificateRequestData. ResourceCertificateRequestData contains the encoded representation of the subject public key and when it fed into the ResourceCertificateBuilder (which send it further to X509CertificateBuilder) it is wrapped into this class.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EncodedPublicKey(byte[] encoded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()byte[]getEncoded()StringgetFormat()
-
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceKey
-
-