java.lang.Object | |
↳ | sun.security.x509.RFC822Name |
This class implements the RFC822Name as required by the GeneralNames ASN.1 object.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create the RFC822Name object from the passed encoded Der value.
| |||||||||||
Create the RFC822Name object with the specified name.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return constraint type:
| |||||||||||
Encode the RFC822 name into the DerOutputStream.
| |||||||||||
Compares this name with another, for equality.
| |||||||||||
Return the actual name value of the GeneralName.
| |||||||||||
Return the type of the GeneralName.
| |||||||||||
Returns the hash code value for this object.
| |||||||||||
Parse an RFC822Name string to see if it is a valid
addr-spec according to IETF RFC822 and RFC2459:
[local-part@]domain
local-part@ could be empty for an RFC822Name NameConstraint, but the domain at least must be non-empty. | |||||||||||
Return subtree depth of this name for purposes of determining
NameConstraints minimum and maximum bounds.
| |||||||||||
Convert the name into user readable string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Create the RFC822Name object from the passed encoded Der value.
derValue | the encoded DER RFC822Name. |
---|
IOException | on error. |
---|
Create the RFC822Name object with the specified name.
name | the RFC822Name. |
---|
IOException | on invalid input name |
---|
Return constraint type:
[RFC2459] When the subjectAltName extension contains an Internet mail address, the address MUST be included as an rfc822Name. The format of an rfc822Name is an "addr-spec" as defined in RFC 822 [RFC 822]. An addr-spec has the form "local-part@domain". Note that an addr-spec 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 ">". Note that while upper and lower case letters are allowed in an RFC 822 addr-spec, no significance is attached to the case.
inputName | to be checked for being constrained |
---|
UnsupportedOperationException | if name is not exact match, but narrowing and widening are not supported for this name type. |
---|
Encode the RFC822 name into the DerOutputStream.
out | the DER stream to encode the RFC822Name to. |
---|
IOException | on encoding errors. |
---|
Compares this name with another, for equality.
obj | the reference object with which to compare. |
---|
Return the type of the GeneralName.
Returns the hash code value for this object.
Parse an RFC822Name string to see if it is a valid addr-spec according to IETF RFC822 and RFC2459: [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.
name | the RFC822Name string |
---|
IOException | if name is not valid |
---|
Return subtree depth of this name for purposes of determining NameConstraints minimum and maximum bounds.
UnsupportedOperationException | if not supported for this name type |
---|
Convert the name into user readable string.