net.named_data.jndn.security.certificate
public class PublicKey extends Object
Constructor and Description |
---|
PublicKey() |
PublicKey(Blob keyDer)
Create a new PublicKey by decoding the keyDer.
|
public PublicKey()
public PublicKey(Blob keyDer) throws UnrecognizedKeyFormatException
keyDer
- The blob of the SubjectPublicKeyInfo DER.UnrecognizedKeyFormatException
- if can't decode the key DER.public final DerNode toDer() throws DerDecodingException
DerDecodingException
public KeyType getKeyType()
public final Blob getDigest(DigestAlgorithm digestAlgorithm) throws UnrecognizedDigestAlgorithmException
public final Blob getDigest()
public final Blob getKeyDer()
Copyright © 2016. All rights reserved.