GeneralName, GeneralNames, GeneralNameInterface
| Access | Constructor and Description |
|---|---|
| public | RFC822Name(DerValue
the encoded DER RFC822Name. derValue)Create the RFC822Name object from the passed encoded Der value. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: constraint type aboveto be checked for being constrained inputName)Implements sun. Return constraint type:
|
| public void | encode(DerOutputStream
the DER stream to encode the RFC822Name to. out)Implements sun. Encode the RFC822 name into the DerOutputStream. |
| public boolean | Returns: true iff the names are equivalent according to RFC 5280.Overrides java. Compares this name with another, for equality. |
| public String | |
| public int | getType()
Implements sun. Return the type of the GeneralName. |
| public int | Returns: the hash code value for this objectOverrides java. Returns the hash code value for this object. |
| public void | |
| public int | Returns: distance of name from rootImplements sun. Return subtree depth of this name for purposes of determining NameConstraints minimum and maximum bounds. |
| public String |
| name | back to summary |
|---|---|
| private final String name | |
| RFC822Name | back to summary |
|---|---|
| public RFC822Name(DerValue derValue) throws IOException Create the RFC822Name object from the passed encoded Der value.
| |
| RFC822Name | back to summary |
|---|---|
| public RFC822Name(String name) throws IOException Create the RFC822Name object with the specified name.
| |
| constrains | back to summary |
|---|---|
| public int constrains(GeneralNameInterface inputName) throws UnsupportedOperationException Implements sun. Return constraint type:
[RFC 5280]: When the subjectAltName extension contains an Internet mail address, the address MUST be stored in the rfc822Name. The format of an rfc822Name is a "Mailbox" as defined in Section 4.1.2 of [RFC2821]. A Mailbox has the form "Local-part@Domain". Note that a Mailbox has no phrase (such as a common name) before it, has no comment (text surrounded in parentheses) after it, and is not surrounded by "<" and ">".
| |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Encode the RFC822 name into the DerOutputStream.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compares this name with another, for equality.
| |
| getName | back to summary |
|---|---|
| public String getName() Return the actual name value of the GeneralName. | |
| getType | back to summary |
|---|---|
| public int getType() Implements sun. Return the type of the GeneralName. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code value for this object.
| |
| parseName | back to summary |
|---|---|
| public void parseName(String name) throws IOException Parse an RFC822Name string to see if it is a valid addr-spec according to IETF RFC 822 and RFC 5280: [local-part@]domain local-part@ could be empty for an RFC822Name NameConstraint, but the domain at least must be non-empty. Case is not significant.
| |
| subtreeDepth | back to summary |
|---|---|
| public int subtreeDepth() throws UnsupportedOperationException Implements sun. Return subtree depth of this name for purposes of determining NameConstraints minimum and maximum bounds.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Convert the name into user readable string. | |