| Package | Description |
|---|---|
| net.named_data.jndn.encoding.der | |
| net.named_data.jndn.security | |
| net.named_data.jndn.security.certificate | |
| net.named_data.jndn.security.identity |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DerNode.decode(ByteBuffer inputBuf,
int startIdx)
Decode and store the data from an input buffer.
|
void |
DerNode.DerStructure.decode(ByteBuffer inputBuf,
int startIdx)
Override the base decode to decode and store the data from an input
buffer.
|
List |
DerNode.getChildren()
If this object is a DerSequence, get the children of this node.
|
static DerNode.DerSequence |
DerNode.getSequence(List children,
int index)
Check that index is in bounds for the children list, cast
children.get(index) to DerSequence and return it.
|
static DerNode |
DerNode.parse(ByteBuffer inputBuf)
Parse the data from the input buffer recursively and return the root as an
object of a subclass of DerNode.
|
static DerNode |
DerNode.parse(ByteBuffer inputBuf,
int startIdx)
Parse the data from the input buffer recursively and return the root as an
object of a subclass of DerNode.
|
Object |
DerNode.toVal()
Convert the encoded data to a standard representation.
|
Object |
DerNode.DerByteString.toVal()
Override to return just the byte string.
|
Object |
DerNode.DerBoolean.toVal() |
Object |
DerNode.DerInteger.toVal() |
Object |
DerNode.DerOid.toVal()
Override to return the string representation of the OID.
|
Object |
DerNode.DerGeneralizedTime.toVal()
Override to return the milliseconds since 1970.
|
| Modifier and Type | Method and Description |
|---|---|
IdentityCertificate |
KeyChain.getAnyCertificate(Name certificateName)
Get a certificate even if the certificate is not valid anymore.
|
IdentityCertificate |
KeyChain.getAnyIdentityCertificate(Name certificateName)
Get an identity certificate even if the certificate is not valid anymore.
|
IdentityCertificate |
KeyChain.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
IdentityCertificate |
KeyChain.getIdentityCertificate(Name certificateName)
Get an identity certificate with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Certificate.encode()
Encode the contents of the certificate in DER format and set the Content
and MetaInfo fields.
|
DerNode |
PublicKey.toDer()
Encode the public key into DER.
|
| Constructor and Description |
|---|
Certificate(Data data)
Create a Certificate from the content in the data packet.
|
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 |
|---|---|
IdentityCertificate |
IdentityManager.getAnyCertificate(Name certificateName)
Get a certificate even if the certificate is not valid anymore.
|
IdentityCertificate |
IdentityManager.getCertificate(Name certificateName)
Get a certificate with the specified name.
|
Copyright © 2015. All rights reserved.