org.glite.security.util.proxy
Class CertificateExtensionData

java.lang.Object
  extended by org.glite.security.util.proxy.CertificateExtensionData

public class CertificateExtensionData
extends java.lang.Object

A class representing a x509 certificate extension for easily handling them.

Author:
hahkala

Field Summary
 boolean critical
          The flag for whether the extension is critical.
 org.bouncycastle.asn1.DERObjectIdentifier oid
          The oid of the extension.
 org.bouncycastle.asn1.DEREncodable value
          The contents of the extension.
 
Constructor Summary
CertificateExtensionData(org.bouncycastle.asn1.DERObjectIdentifier oid, boolean critical, org.bouncycastle.asn1.DEREncodable value)
          Creates the extension object out of the given arguments.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oid

public org.bouncycastle.asn1.DERObjectIdentifier oid
The oid of the extension.


critical

public boolean critical
The flag for whether the extension is critical.


value

public org.bouncycastle.asn1.DEREncodable value
The contents of the extension.

Constructor Detail

CertificateExtensionData

public CertificateExtensionData(org.bouncycastle.asn1.DERObjectIdentifier oid,
                                boolean critical,
                                org.bouncycastle.asn1.DEREncodable value)
Creates the extension object out of the given arguments.

Parameters:
oid - The oid of the extension.
critical - The criticality flag of the extension.
value - The contents of the extension.