Class X500NameBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x500.X500NameBCFips
- All Implemented Interfaces:
-
IASN1Encodable,IX500Name
Wrapper class for
X500Name.
-
Constructor Summary
ConstructorsConstructorDescriptionX500NameBCFips(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.bouncycastlefips.asn1.ASN1EncodableBCFips
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
-
X500NameBCFips
public X500NameBCFips(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
-