issrg.ac.attributes
Class IndirectIssuer

java.lang.Object
  extended by issrg.ac.Extension
      extended by issrg.ac.attributes.IndirectIssuer
All Implemented Interfaces:
java.lang.Cloneable

public class IndirectIssuer
extends Extension

Author:
anhnt

Field Summary
static java.lang.String INDIRECT_ISSUER_OID
          The string stores the standard OID for the Indirect_Issuer extension 2.5.29.61
 
Fields inherited from class issrg.ac.Extension
critical, extnID, Null, theObject
 
Constructor Summary
IndirectIssuer()
          This method creates a default instance of IndirectIssuer extension
IndirectIssuer(IndirectIssuer e)
          Creates a new instance of IndirectIssuer based on an existing IndirectIssuer extension
 
Method Summary
 java.lang.Object clone()
           
 void decode(ASN1Object ao)
          This method decodes a given ASN1Object and upon successful decoding sets the IndirectIssuer extension for the AC.
 void decodeValue(ASN1Object ao)
          This method decodes a given ASN1Object and upon successful decoding sets the extension value for the current IndirectIssuer object.
 ASN1Object encodeValue()
          This method encodes the IndirectIssuer object to an ASN1Object.
static void registerMe()
          This method registers this extension as an extension with a specific OID.
 
Methods inherited from class issrg.ac.Extension
extensionValueToString, getExtensionOID, getExtensionValue, isCritical, setCritical, setExtensionOID, setExtensionValue, toASN1Object, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INDIRECT_ISSUER_OID

public static final java.lang.String INDIRECT_ISSUER_OID
The string stores the standard OID for the Indirect_Issuer extension 2.5.29.61

See Also:
Constant Field Values
Constructor Detail

IndirectIssuer

public IndirectIssuer(IndirectIssuer e)
Creates a new instance of IndirectIssuer based on an existing IndirectIssuer extension

Parameters:
e - is an IndirectIssuer extension

IndirectIssuer

public IndirectIssuer()
This method creates a default instance of IndirectIssuer extension

Method Detail

registerMe

public static void registerMe()
This method registers this extension as an extension with a specific OID. After it has been registered, Extensions can recognise the extension with this OID.


clone

public java.lang.Object clone()
Overrides:
clone in class Extension

decode

public void decode(ASN1Object ao)
            throws CodingException
This method decodes a given ASN1Object and upon successful decoding sets the IndirectIssuer extension for the AC.

Overrides:
decode in class Extension
Parameters:
ao - - ASN1Object to decode
Throws:
CodingException

decodeValue

public void decodeValue(ASN1Object ao)
                 throws CodingException
This method decodes a given ASN1Object and upon successful decoding sets the extension value for the current IndirectIssuer object.

Overrides:
decodeValue in class Extension
Parameters:
ao - - ASN1Object to decode
Throws:
CodingException

encodeValue

public ASN1Object encodeValue()
                       throws CodingException
This method encodes the IndirectIssuer object to an ASN1Object.

Overrides:
encodeValue in class Extension
Returns:
an ASN1Object object.
Throws:
CodingException