|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.security.japi.pki.NPKI_AltName
Specifies an X.509 subject alternative name extension to be encoded with the certifcate.
The subject alternative name extension is used to specify additional identities to be bound to the subject of the certificate (i.e., other names that identify the object).
Field Summary | |
protected short |
m_length
|
protected short |
m_type
|
protected byte[] |
m_value
|
Constructor Summary | |
NPKI_AltName(short type,
byte[] value)
Constructor |
|
NPKI_AltName(short type,
int value)
Constructor |
|
NPKI_AltName(short type,
long value)
Constructor |
|
NPKI_AltName(short type,
short value)
Constructor |
|
NPKI_AltName(short type,
java.lang.String value)
Constructor |
Method Summary | |
short |
getLength()
Retrieves the alternative name length. |
short |
getType()
Retrieves the altnernative name type. |
byte[] |
getValue()
Retrieves the alternative name. |
void |
setType(short type)
Sets the type of alternative name that is to be encoded in the certificate. |
void |
setValue(byte[] value)
Sets the value of the alternative name. |
void |
setValue(int value)
Sets the value of the alternative name. |
void |
setValue(long value)
Sets the value of the alternative name. |
void |
setValue(short value)
Sets the value of the alternative name. |
void |
setValue(java.lang.String value)
Sets the value of the alternative name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected short m_type
protected short m_length
protected byte[] m_value
Constructor Detail |
public NPKI_AltName(short type, short value) throws java.io.IOException
type
- Specifies which subject alternative name type is to be encoded in the certificate.value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic NPKI_AltName(short type, int value) throws java.io.IOException
type
- Specifies which subject alternative name type is to be
encoded in the certificate.value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic NPKI_AltName(short type, long value) throws java.io.IOException
type
- Specifies which subject alternative name type is to be encoded in the certificate.value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic NPKI_AltName(short type, java.lang.String value) throws java.io.IOException
type
- Specifies which subject alternative name type is to be encoded in the certificate.value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic NPKI_AltName(short type, byte[] value) throws java.io.IOException
type
- Specifies which subject alternative name type is to be encoded in the certificate.value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occursMethod Detail |
public void setType(short type)
type
- Specifies which subject alternative name type is to be encoded in the certificate.public void setValue(short value) throws java.io.IOException
value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic void setValue(int value) throws java.io.IOException
value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic void setValue(long value) throws java.io.IOException
value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic void setValue(java.lang.String value) throws java.io.IOException
value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic void setValue(byte[] value) throws java.io.IOException
value
- The alternative name to be encoded in the certificate.
java.io.IOException
- if an I/O exception occurspublic short getType()
public short getLength()
public byte[] getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |