|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ripe.rpki.commons.crypto.rfc3779.ResourceExtensionEncoder
public class ResourceExtensionEncoder
Encodes the certificate resource extensions as specified in RFC3779. Resource inheritance is not yet supported. The methods in this class are named after the grammar rules in RFC3779, suffixed with "ToDer".
| Field Summary | |
|---|---|
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
OID_AUTONOMOUS_SYS_IDS
id-pe-autonomousSysIds OBJECT IDENTIFIER ::= { id-pe 8 } |
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
OID_IP_ADDRESS_BLOCKS
id-pe-ipAddrBlocks OBJECT IDENTIFIER ::= { id-pe 7 } |
static String |
OID_PE
id-pe OBJECT IDENTIFIER ::= { id-pkix 1 } |
static String |
OID_PKIX
id-pkix OBJECT IDENTIFIER ::= { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) } |
| Constructor Summary | |
|---|---|
ResourceExtensionEncoder()
|
|
| Method Summary | |
|---|---|
org.bouncycastle.asn1.ASN1Object |
encodeAsIdentifiers(boolean inherit,
net.ripe.ipresource.IpResourceSet resources)
Encode the AS Identifier extension for resource certificates. |
org.bouncycastle.asn1.ASN1Object |
encodeIpAddressBlocks(boolean inheritIpv4,
boolean inheritIpv6,
net.ripe.ipresource.IpResourceSet resources)
Encode the IP Address Block extension for Resource Certificates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OID_PKIX
public static final String OID_PE
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier OID_IP_ADDRESS_BLOCKS
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier OID_AUTONOMOUS_SYS_IDS
| Constructor Detail |
|---|
public ResourceExtensionEncoder()
| Method Detail |
|---|
public org.bouncycastle.asn1.ASN1Object encodeIpAddressBlocks(boolean inheritIpv4,
boolean inheritIpv6,
net.ripe.ipresource.IpResourceSet resources)
OID_IP_ADDRESS_BLOCKS.
inheritIpv4 - inherit IPv4 resources from signing certificate.inheritIpv6 - inherit IPv6 resources from signing certificate.resources - the set of IPv4 and IPv6 resources.
public org.bouncycastle.asn1.ASN1Object encodeAsIdentifiers(boolean inherit,
net.ripe.ipresource.IpResourceSet resources)
inherit - inherit ASNs from signing certificate.resources - the set of ASNs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||