96 * this {@code Signature} class; all the methods in
97 * the superclass are intended for cryptographic service providers who wish to
98 * supply their own implementations of digital signature algorithms.
99 *
100 * <p> Every implementation of the Java platform is required to support the
101 * following standard {@code Signature} algorithms:
102 * <ul>
103 * <li>{@code SHA1withDSA}</li>
104 * <li>{@code SHA256withDSA}</li>
105 * <li>{@code SHA1withRSA}</li>
106 * <li>{@code SHA256withRSA}</li>
107 * </ul>
108 * These algorithms are described in the <a href=
109 * "{@docRoot}/../specs/security/standard-names.html#signature-algorithms">
110 * Signature section</a> of the
111 * Java Security Standard Algorithm Names Specification.
112 * Consult the release documentation for your implementation to see if any
113 * other algorithms are supported.
114 *
115 * @author Benjamin Renaud
116 *
117 */
118
119 public abstract class Signature extends SignatureSpi {
120
121 private static final Debug debug =
122 Debug.getInstance("jca", "Signature");
123
124 private static final Debug pdebug =
125 Debug.getInstance("provider", "Provider");
126 private static final boolean skipDebug =
127 Debug.isOn("engine=") && !Debug.isOn("signature");
128
129 /*
130 * The algorithm for this signature object.
131 * This value is used to map an OID to the particular algorithm.
132 * The mapping is done in AlgorithmObject.algOID(String algorithm)
133 */
134 private String algorithm;
135
|
96 * this {@code Signature} class; all the methods in
97 * the superclass are intended for cryptographic service providers who wish to
98 * supply their own implementations of digital signature algorithms.
99 *
100 * <p> Every implementation of the Java platform is required to support the
101 * following standard {@code Signature} algorithms:
102 * <ul>
103 * <li>{@code SHA1withDSA}</li>
104 * <li>{@code SHA256withDSA}</li>
105 * <li>{@code SHA1withRSA}</li>
106 * <li>{@code SHA256withRSA}</li>
107 * </ul>
108 * These algorithms are described in the <a href=
109 * "{@docRoot}/../specs/security/standard-names.html#signature-algorithms">
110 * Signature section</a> of the
111 * Java Security Standard Algorithm Names Specification.
112 * Consult the release documentation for your implementation to see if any
113 * other algorithms are supported.
114 *
115 * @author Benjamin Renaud
116 * @since 1.1
117 *
118 */
119
120 public abstract class Signature extends SignatureSpi {
121
122 private static final Debug debug =
123 Debug.getInstance("jca", "Signature");
124
125 private static final Debug pdebug =
126 Debug.getInstance("provider", "Provider");
127 private static final boolean skipDebug =
128 Debug.isOn("engine=") && !Debug.isOn("signature");
129
130 /*
131 * The algorithm for this signature object.
132 * This value is used to map an OID to the particular algorithm.
133 * The mapping is done in AlgorithmObject.algOID(String algorithm)
134 */
135 private String algorithm;
136
|