Package java.security

Class Signer

    • Constructor Detail

      • Signer

        protected Signer()
        Deprecated.
        Constructs a new instance of Signer.
      • Signer

        public Signer​(String name)
        Deprecated.
        Constructs a new instance of Signer with the given name.
        Parameters:
        name - the name of the signer.
      • Signer

        public Signer​(String name,
                      IdentityScope scope)
               throws KeyManagementException
        Deprecated.
        Constructs a new instance of Signer with the given name in the given scope.
        Parameters:
        name - the name of the signer.
        scope - the scope of the signer.
        Throws:
        KeyManagementException - if a signer with the specified name already exists in the provided scope.
    • Method Detail

      • getPrivateKey

        public PrivateKey getPrivateKey()
        Deprecated.
        Returns the private key of this Signer.
      • toString

        public String toString()
        Deprecated.
        Returns a string containing a concise, human-readable description of this Signer including its name and its scope if present.
        Specified by:
        toString in interface Principal
        Overrides:
        toString in class Identity
        Returns:
        a printable representation for this Signer.