API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. Signer View Source
Author(s)
Benjamin Renaud
Since
Version
1.43 05/11/17
Serial
Hierarchy
 Object
      Identity
          Signer
Implements
Subclasses
Description
@Deprecated
publicabstract abstract class Signer
  This class is used to represent an Identity that can also digitally sign data.
See also:    Identity
Constructors
protected Signer ()
  Creates a signer.
public Signer (String name)
  Creates a signer with the specified identity name.
public Signer (String name, IdentityScope scope) throws KeyManagementException
  Creates a signer with the specified identity name and scope.
Methods
Hide/Show inherited methods
public void addCertificate (Certificate certificate) throws KeyManagementException [Inherited From Identity]
  Adds a certificate for this identity.
public Certificate certificates () [Inherited From Identity]
  Returns a copy of all the certificates for this identity.
publicfinal boolean equals (Object identity) [Inherited From Identity]
  Tests for equality between the specified object and this identity.
pack-private String fullName () [Inherited From Identity]
Returns a parsable name for identity: identityName.scopeName
public String getInfo () [Inherited From Identity]
  Returns general information previously specified for this identity.
publicfinal String getName () [Inherited From Identity]
  Returns this identity's name.
public PrivateKey getPrivateKey ()
  Returns this signer's private key.
public PublicKey getPublicKey () [Inherited From Identity]
  Returns this identity's public key.
publicfinal IdentityScope getScope () [Inherited From Identity]
  Returns this identity's scope.
public int hashCode () [Inherited From Identity]
  Returns a hashcode for this identity.
protected boolean identityEquals (Identity identity) [Inherited From Identity]
  Tests for equality between the specified identity and this identity.
pack-private String printCertificates () [Inherited From Identity]
pack-private String printKeys () [Overrides Identity]
public void removeCertificate (Certificate certificate) throws KeyManagementException [Inherited From Identity]
  Removes a certificate from this identity.
public void setInfo (String info) [Inherited From Identity]
  Specifies a general information string for this identity.
publicfinal void setKeyPair (KeyPair pair) throws InvalidParameterException KeyException
  Sets the key pair (public key and private key) for this signer.
public void setPublicKey (PublicKey key) throws KeyManagementException [Inherited From Identity]
  Sets this identity's public key.
public String toString () [Overrides Identity]
  Returns a string of information about the signer.
public String toString (boolean detailed) [Inherited From Identity]
  Returns a string representation of this identity, with optionally more details than that provided by the toString method without any arguments.
Fields
Hide/Show inherited fields
pack-private Vector certificates [Inherited From Identity]
The certificates for this identity.
pack-private String info [Inherited From Identity]
Generic, descriptive information about the identity.
pack-private IdentityScope scope [Inherited From Identity]
The scope of the identity.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar