Class X500NameBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x500.X500NameBC
- All Implemented Interfaces:
-
IASN1Encodable,IX500Name
Wrapper class for
X500Name.
-
Constructor Summary
ConstructorsConstructorDescriptionX500NameBC(org.bouncycastle.asn1.x500.X500Name x500Name) Creates new wrapper instance forX500Name. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Gets byte array representation of a wrapped X500Name.getName()Gets the RFC2253 name.org.bouncycastle.asn1.x500.X500NameGets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
X500NameBC
public X500NameBC(org.bouncycastle.asn1.x500.X500Name x500Name) Creates new wrapper instance forX500Name.- Parameters:
-
x500Name-X500Nameto be wrapped
-
-
Method Details
-
getX500Name
public org.bouncycastle.asn1.x500.X500Name getX500Name()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
X500Name.
-
getName
Gets the RFC2253 name.. -
getEncoded
Gets byte array representation of a wrapped X500Name..- Specified by:
-
getEncodedin interfaceIX500Name - Returns:
- byte array representation of a wrapped X500Name
- Throws:
-
IOException- in case of I/O Exceptions
-