Class OidAndValue<T extends org.bouncycastle.asn1.ASN1Encodable>

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    CertificateExtension

    public class OidAndValue<T extends org.bouncycastle.asn1.ASN1Encodable>
    extends java.lang.Object
    implements java.lang.Cloneable
    Stores DER form of a certificate attribute value with its OID.
    Author:
    K. Benedyczak
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String oid  
      protected T value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected OidAndValue()  
        OidAndValue​(java.lang.String oid, T value)  
    • Field Detail

      • value

        protected T extends org.bouncycastle.asn1.ASN1Encodable value
      • oid

        protected java.lang.String oid
    • Constructor Detail

      • OidAndValue

        protected OidAndValue()
      • OidAndValue

        public OidAndValue​(java.lang.String oid,
                           T value)
    • Method Detail

      • getValue

        public T getValue()
      • setValue

        public void setValue​(T value)
      • getOid

        public java.lang.String getOid()
      • setOid

        public void setOid​(java.lang.String oid)
      • clone

        public OidAndValue<T> clone()
        Overrides:
        clone in class java.lang.Object