Name
Class java.security.Signer
Description
A signer abstracts the notion of a principal (that is, an individual
or a corporation) that has a private key and a corresponding public
key. Signer
s may optionally belong to an identity
scope, but that usage is now rare.
Class Definition
public abstract class java.security.Signer extends java.security.Identity { // Constructors protected Signer(); public Signer(String); public Signer(String, IdentityScope); // Instance Methods public PrivateKey getPrivateKey(); public final void setKeyPair(KeyPair); public String toString(); }
See Also
Identity
, Principal
Get Java Cryptography now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.