Class UtilsASN1


  • public final class UtilsASN1
    extends java.lang.Object

    Class 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.String toString​(javax.security.auth.x500.X500Principal name)
      Method that obtains the content of a X500Principal object on string format.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toString

        public static java.lang.String toString​(javax.security.auth.x500.X500Principal name)
                                         throws CommonUtilsException
        Method that obtains the content of a X500Principal object on string format.
        Parameters:
        name - Parameter that represents the object to be processed.
        Returns:
        the content of the X500Principal object on string format.
        Throws:
        CommonUtilsException - If the method fails.