org.apache.geronimo.util.asn1
Class ASN1Encodable

java.lang.Object
  extended by org.apache.geronimo.util.asn1.ASN1Encodable
All Implemented Interfaces:
DEREncodable
Direct Known Subclasses:
AccessDescription, AlgorithmIdentifier, AttCertIssuer, AttCertValidityPeriod, Attribute, AttributeCertificate, AttributeCertificateInfo, AuthorityInformationAccess, BasicConstraints, CertificateList, CertificatePolicies, CertificationRequest, CertificationRequestInfo, CRLDistPoint, DERObject, DHParameter, DigestInfo, DisplayText, DistributionPoint, DistributionPointName, DSAParameter, ECPrivateKeyStructure, ExtendedKeyUsage, GeneralName, GeneralNames, GeneralSubtree, Holder, IetfAttrSyntax, IssuerSerial, IssuingDistributionPoint, NameConstraints, NoticeReference, ObjectDigestInfo, PolicyInformation, PolicyMappings, PolicyQualifierInfo, PrivateKeyInfo, RSAPrivateKeyStructure, RSAPublicKeyStructure, SubjectPublicKeyInfo, TBSCertificateStructure, TBSCertList, TBSCertList.CRLEntry, Time, UserNotice, V2Form, X509CertificateStructure, X509Extensions, X509Name

public abstract class ASN1Encodable
extends Object
implements DEREncodable


Constructor Summary
ASN1Encodable()
           
 
Method Summary
 boolean equals(Object o)
           
 DERObject getDERObject()
           
 byte[] getEncoded()
           
 int hashCode()
           
abstract  DERObject toASN1Object()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1Encodable

public ASN1Encodable()
Method Detail

getEncoded

public byte[] getEncoded()
                  throws IOException
Throws:
IOException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getDERObject

public DERObject getDERObject()
Specified by:
getDERObject in interface DEREncodable

toASN1Object

public abstract DERObject toASN1Object()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.