|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.crypto.AbstractX509Extension anon.crypto.AbstractX509AlternativeName anon.crypto.X509SubjectAlternativeName
public final class X509SubjectAlternativeName
The SubjectAlternativeName extension represents an alias to distinguished name (DN). It may contain several values and is often used for IPs, DNS-Names, URLs and E-Mail addresses.
Field Summary | |
---|---|
static java.lang.String |
IDENTIFIER
|
Fields inherited from class anon.crypto.AbstractX509AlternativeName |
---|
DIRECTORY_NAME, DNS_NAME, EDI_PARTY_NAME, IP_ADDRESS, OTHER_NAME, REGISTERED_ID, RFC_822_NAME, TAG_DNS, TAG_EMAIL, TAG_IP, TAG_OTHER, TAG_URL, UNIFORM_RESOURCE_IDENTIFIER, X400_ADDRESS |
Constructor Summary | |
---|---|
X509SubjectAlternativeName(boolean a_critical,
java.lang.String a_value,
java.lang.Integer a_tag)
Constructs a new X509SubjectAlternativeName from a value. |
|
X509SubjectAlternativeName(boolean a_critical,
java.util.Vector a_values,
java.util.Vector a_tags)
Constructs a new X509SubjectAlternativeName from values. |
|
X509SubjectAlternativeName(org.bouncycastle.asn1.DERSequence a_extension)
Creates an extension from a BouncyCastle DER sequence. |
|
X509SubjectAlternativeName(java.lang.String a_value,
java.lang.Integer a_tag)
Constructs a new X509SubjectAlternativeName from a value. |
|
X509SubjectAlternativeName(java.util.Vector a_values,
java.util.Vector a_tags)
Constructs a new X509SubjectAlternativeName from values. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns "SubjectAlternativeName". |
Methods inherited from class anon.crypto.AbstractX509AlternativeName |
---|
getTagAsString, getTags, getValues, isValidEMail, isValidIP |
Methods inherited from class anon.crypto.AbstractX509Extension |
---|
equals, getBCExtension, getDEROctets, getIdentifier, getInstance, hashCode, isCritical, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IDENTIFIER
Constructor Detail |
---|
public X509SubjectAlternativeName(java.lang.String a_value, java.lang.Integer a_tag)
a_value
- a valuea_tag
- the type tag for this valuepublic X509SubjectAlternativeName(boolean a_critical, java.lang.String a_value, java.lang.Integer a_tag)
a_critical
- true if the extension is critical; false otherwisea_value
- a valuea_tag
- the type tag for this valuepublic X509SubjectAlternativeName(java.util.Vector a_values, java.util.Vector a_tags)
a_values
- values for the SubjectAlternativeNamea_tags
- the type tags for the valuespublic X509SubjectAlternativeName(boolean a_critical, java.util.Vector a_values, java.util.Vector a_tags)
a_critical
- true if the extension is critical; false otherwisea_values
- values for the SubjectAlternativeNamea_tags
- the type tags for the valuespublic X509SubjectAlternativeName(org.bouncycastle.asn1.DERSequence a_extension)
a_extension
- a DERSequenceMethod Detail |
---|
public java.lang.String getName()
getName
in class AbstractX509Extension
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |