kz.gamma.asn1.x500
Class AttributeTypeAndValue

java.lang.Object
  extended by kz.gamma.asn1.ASN1Encodable
      extended by kz.gamma.asn1.x500.AttributeTypeAndValue
All Implemented Interfaces:
DEREncodable

public class AttributeTypeAndValue
extends ASN1Encodable


Field Summary
private  DERObjectIdentifier type
           
private  ASN1Encodable value
           
 
Fields inherited from class kz.gamma.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
private AttributeTypeAndValue(ASN1Sequence seq)
           
  AttributeTypeAndValue(DERObjectIdentifier type, ASN1Encodable value)
           
 
Method Summary
static AttributeTypeAndValue getInstance(java.lang.Object o)
           
 DERObjectIdentifier getType()
           
 ASN1Encodable getValue()
           
 DERObject toASN1Object()
           AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }
 
Methods inherited from class kz.gamma.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private DERObjectIdentifier type

value

private ASN1Encodable value
Constructor Detail

AttributeTypeAndValue

private AttributeTypeAndValue(ASN1Sequence seq)

AttributeTypeAndValue

public AttributeTypeAndValue(DERObjectIdentifier type,
                             ASN1Encodable value)
Method Detail

getInstance

public static AttributeTypeAndValue getInstance(java.lang.Object o)

getType

public DERObjectIdentifier getType()

getValue

public ASN1Encodable getValue()

toASN1Object

public DERObject toASN1Object()
 AttributeTypeAndValue ::= SEQUENCE {
           type         OBJECT IDENTIFIER,
           value        ANY DEFINED BY type }
 

Specified by:
toASN1Object in class ASN1Encodable
Returns:
a basic ASN.1 object representation.


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.