eu.emi.security.authn.x509.proxy
Class OidAndValue<T extends DEREncodable>

java.lang.Object
  extended by eu.emi.security.authn.x509.proxy.OidAndValue<T>
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
CertificateExtension

public class OidAndValue<T extends DEREncodable>
extends Object
implements Cloneable

Stores DER form of a certificate attribute value with its OID.

Author:
K. Benedyczak

Field Summary
protected  String oid
           
protected  T value
           
 
Constructor Summary
protected OidAndValue()
           
  OidAndValue(String oid, T value)
           
 
Method Summary
 OidAndValue<T> clone()
           
 String getOid()
           
 T getValue()
           
 void setOid(String oid)
           
 void setValue(T value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected T extends DEREncodable value

oid

protected String oid
Constructor Detail

OidAndValue

protected OidAndValue()

OidAndValue

public OidAndValue(String oid,
                   T value)
Method Detail

getValue

public T getValue()

setValue

public void setValue(T value)

getOid

public String getOid()

setOid

public void setOid(String oid)

clone

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


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.