Package es.gob.afirma.tsl.utils
Class UtilsASN1
- java.lang.Object
-
- es.gob.afirma.tsl.utils.UtilsASN1
-
public final class UtilsASN1 extends java.lang.ObjectClass that contains all utilities methods used in ASN1 Objects.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.2, 19/09/2022.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringtoString(javax.security.auth.x500.X500Principal name)Method that obtains the content of aX500Principalobject on string format.
-
-
-
Method Detail
-
toString
public static java.lang.String toString(javax.security.auth.x500.X500Principal name) throws CommonUtilsExceptionMethod that obtains the content of aX500Principalobject on string format.- Parameters:
name- Parameter that represents the object to be processed.- Returns:
- the content of the
X500Principalobject on string format. - Throws:
CommonUtilsException- If the method fails.
-
-