net.named_data.jndn.security.certificate
public class IdentityCertificate extends Certificate
| Constructor and Description |
|---|
IdentityCertificate() |
IdentityCertificate(Data data)
Create an IdentityCertificate from the content in the data packet.
|
IdentityCertificate(IdentityCertificate identityCertificate)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Name |
certificateNameToPublicKeyName(Name certificateName)
Get the public key name from the full certificate name.
|
Name |
getPublicKeyName() |
static boolean |
isIdentityCertificate(Certificate certificate) |
Data |
setName(Name name)
Override the base class method to check that the name is a valid identity certificate name.
|
void |
wireDecode(Blob input,
WireFormat wireFormat)
Override to call the base class wireDecode then update the public key name.
|
addExtension, addSubjectDescription, encode, getExtensionList, getNotAfter, getNotBefore, getPublicKeyInfo, getSubjectDescriptionList, isTooEarly, isTooLate, setNotAfter, setNotBefore, setPublicKeyInfo, toStringgetChangeCount, getContent, getDefaultWireEncoding, getFullName, getFullName, getIncomingFaceId, getMetaInfo, getName, getSignature, setContent, setMetaInfo, setSignature, wireDecode, wireDecode, wireDecode, wireEncode, wireEncodepublic IdentityCertificate()
public IdentityCertificate(Data data) throws DerDecodingException
data - The data packet with the content to decode.DerDecodingExceptionpublic IdentityCertificate(IdentityCertificate identityCertificate) throws DerDecodingException
DerDecodingExceptionpublic Data setName(Name name)
public void wireDecode(Blob input, WireFormat wireFormat) throws EncodingException
wireDecode in class Certificateinput - The input byte array to be decoded as an immutable Blob.wireFormat - A WireFormat object used to decode the input.EncodingException - For invalid encoding.public final Name getPublicKeyName()
public static boolean isIdentityCertificate(Certificate certificate)
Copyright © 2016. All rights reserved.