Class DSSPKUtils


  • public final class DSSPKUtils
    extends Object
    • Method Detail

      • getPublicKeySize

        public static String getPublicKeySize​(Token token)
        This method returns a key length used to sign this token.
        Parameters:
        token - the token (certificate, crl,...) to be checked
        Returns:
        the used key size to sign the given token
      • getPublicKeySize

        public static int getPublicKeySize​(PublicKey publicKey)
        This method returns the public key size extracted from public key infrastructure.
        Parameters:
        publicKey - the public key
        Returns:
        the key length