Package org.wildfly.security.x500
Class GeneralName.URIName
- java.lang.Object
-
- org.wildfly.security.x500.GeneralName
-
- org.wildfly.security.x500.GeneralName.URIName
-
- All Implemented Interfaces:
ASN1Encodable
- Enclosing class:
- GeneralName
public static final class GeneralName.URIName extends GeneralName
A URI name.- Author:
- Farah Juma
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.wildfly.security.x500.GeneralName
GeneralName.DirectoryName, GeneralName.DNSName, GeneralName.EDIPartyName, GeneralName.IPAddress, GeneralName.OtherName, GeneralName.RegisteredID, GeneralName.RFC822Name, GeneralName.URIName, GeneralName.X400Address
-
-
Field Summary
Fields Modifier and Type Field Description private Stringname-
Fields inherited from class org.wildfly.security.x500.GeneralName
DIRECTORY_NAME, DNS_NAME, EDI_PARTY_NAME, IP_ADDRESS, OTHER_NAME, REGISTERED_ID, RFC_822_NAME, URI_NAME, X400_ADDRESS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeTo(ASN1Encoder encoder)Encode thisGeneralNameelement using the given ASN.1 encoder, whereGeneralNameis defined as:booleanequals(Object obj)booleanequals(GeneralName.URIName other)StringgetName()Get the name.inthashCode()-
Methods inherited from class org.wildfly.security.x500.GeneralName
getType
-
-
-
-
Field Detail
-
name
private final String name
-
-
Constructor Detail
-
URIName
public URIName(String name)
Create a URI name.- Parameters:
name- the URI name, as aString
-
-
Method Detail
-
getName
public String getName()
Description copied from class:GeneralNameGet the name.- Specified by:
getNamein classGeneralName- Returns:
- the name
-
encodeTo
public void encodeTo(ASN1Encoder encoder)
Description copied from class:GeneralNameEncode this
GeneralNameelement using the given ASN.1 encoder, whereGeneralNameis defined as:GeneralName ::= CHOICE { otherName [0] OtherName, rfc822Name [1] IA5String, dNSName [2] IA5String, x400Address [3] ORAddress, directoryName [4] Name, ediPartyName [5] EDIPartyName, uniformResourceIdentifier [6] IA5String, iPAddress [7] OCTET STRING, registeredID [8] OBJECT IDENTIFIER }- Specified by:
encodeToin interfaceASN1Encodable- Specified by:
encodeToin classGeneralName- Parameters:
encoder- the encoder (must not benull)
-
equals
public boolean equals(GeneralName.URIName other)
-
-