Package eu.emi.security.authn.x509.proxy
Class OidAndValue<T extends org.bouncycastle.asn1.ASN1Encodable>
- java.lang.Object
-
- eu.emi.security.authn.x509.proxy.OidAndValue<T>
-
- 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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OidAndValue()
OidAndValue(java.lang.String oid, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OidAndValue<T>
clone()
java.lang.String
getOid()
T
getValue()
void
setOid(java.lang.String oid)
void
setValue(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 classjava.lang.Object
-
-