Lines Matching defs:Signature

32  * {@code Signature} is an engine class which is capable of creating and
38 public abstract class Signature extends SignatureSpi {
41 private static final String SERVICE = "Signature"; //$NON-NLS-1$
53 * Constant that indicates that this {@code Signature} instance has not yet
59 * Constant that indicates that this {@code Signature} instance has been
65 * Constant that indicates that this {@code Signature} instance has been
71 * Represents the current state of this {@code Signature}. The three
78 * Constructs a new instance of {@code Signature} with the name of
84 protected Signature(String algorithm) {
89 * Returns a new instance of {@code Signature} that utilizes the specified
94 * @return a new instance of {@code Signature} that utilizes the specified
101 public static Signature getInstance(String algorithm)
106 Signature result;
109 if (engine.spi instanceof Signature) {
110 result = (Signature) engine.spi;
122 * Returns a new instance of {@code Signature} that utilizes the specified
129 * @return a new instance of {@code Signature} that utilizes the specified
138 public static Signature getInstance(String algorithm, String provider)
155 * Returns a new instance of {@code Signature} that utilizes the specified
162 * @return a new instance of {@code Signature} that utilizes the specified
169 public static Signature getInstance(String algorithm, Provider provider)
180 private static Signature getSignatureInstance(String algorithm,
182 Signature result;
185 if (engine.spi instanceof Signature) {
186 result = (Signature) engine.spi;
198 * Returns the provider associated with this {@code Signature}.
200 * @return the provider associated with this {@code Signature}.
207 * Returns the name of the algorithm of this {@code Signature}.
209 * @return the name of the algorithm of this {@code Signature}.
216 * Initializes this {@code Signature} instance for signature verification,
232 * Initializes this {@code Signature} instance for signature verification,
280 * Initializes this {@code Signature} instance for signing, using the
295 * Initializes this {@code Signature} instance for signing, using the
315 * This {@code Signature} instance is reset to the state of its last
321 * if this {@code Signature} instance is not initialized
336 * This {@code Signature} instance is reset to the state of its last
348 * if this {@code Signature} instance is not initialized
372 * This {@code Signature} instance is reset to the state of its last
381 * if this {@code Signature} instance is not initialized
397 * This {@code Signature} instance is reset to the state of its last
410 * if this {@code Signature} instance is not initialized
437 * if this {@code Signature} instance is not initialized
455 * if this {@code Signature} instance is not initialized
477 * if this {@code Signature} instance is not initialized
501 * if this {@code Signature} instance is not initialized
514 * {@code Signature} including its algorithm and its state.
516 * @return a printable representation for this {@code Signature}.
570 * Returns the {@code AlgorithmParameters} of this {@link Signature}
573 * @return the {@code AlgorithmParameters} of this {@link Signature}
589 * Signature} or an other error occures.
608 * Internal Signature implementation
611 private static class SignatureImpl extends Signature {