|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.security12.sun.security.x509.CertificateIssuerUniqueIdentity
This class defines the subject/issuer unique identity attribute for the Certificate.
CertAttrSet
Field Summary | |
static String |
ID
|
static String |
IDENT
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. |
static String |
NAME
Sub attributes name for this CertAttrSet. |
Constructor Summary | |
CertificateIssuerUniqueIdentity(DerInputStream in)
Create the object, decoding the values from the passed DER stream. |
|
CertificateIssuerUniqueIdentity(DerValue val)
Create the object, decoding the values from the passed DER value. |
|
CertificateIssuerUniqueIdentity(InputStream in)
Create the object, decoding the values from the passed stream. |
|
CertificateIssuerUniqueIdentity(UniqueIdentity id)
Default constructor for the certificate attribute. |
Method Summary | |
void |
decode(InputStream in)
Decode the identity in DER form from the stream. |
void |
delete(String name)
Delete the attribute value. |
void |
encode(OutputStream out)
Encode the identity in DER form to the stream. |
Object |
get(String name)
Get the attribute value. |
Enumeration |
getElements()
Return an enumeration of names of attributes existing within this attribute. |
String |
getName()
Return the name of this attribute. |
void |
set(String name,
Object obj)
Set the attribute value. |
String |
toString()
Return the identity as user readable string. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final String IDENT
public static final String NAME
public static final String ID
Constructor Detail |
public CertificateIssuerUniqueIdentity(UniqueIdentity id)
key
- the UniqueIdentitypublic CertificateIssuerUniqueIdentity(DerInputStream in) throws IOException
in
- the DerInputStream to read the UniqueIdentity from.public CertificateIssuerUniqueIdentity(InputStream in) throws IOException
in
- the InputStream to read the UniqueIdentity from.public CertificateIssuerUniqueIdentity(DerValue val) throws IOException
in
- the DerValue to read the UniqueIdentity from.Method Detail |
public String toString()
public void decode(InputStream in) throws IOException
in
- the InputStream to unmarshal the contents from.public void encode(OutputStream out) throws IOException
out
- the DerOutputStream to marshal the contents to.public void set(String name, Object obj) throws IOException
public Object get(String name) throws IOException
public void delete(String name) throws IOException
public Enumeration getElements()
public String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |