Searched refs:DSAPublicKey (Results 1 - 22 of 22) sorted by relevance

/openjdk7/jdk/src/share/classes/java/security/interfaces/
H A DDSAPublicKey.java41 public interface DSAPublicKey extends DSAKey, java.security.PublicKey { interface in inherits:DSAKey,java.security.PublicKey
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAPublicKey.java56 public class DSAPublicKey extends X509Key class in inherits:X509Key,java.security.interfaces.DSAPublicKey,Serializable
57 implements java.security.interfaces.DSAPublicKey, Serializable {
68 public DSAPublicKey() { method in class:DSAPublicKey
84 public DSAPublicKey(BigInteger y, BigInteger p, BigInteger q, method in class:DSAPublicKey
103 public DSAPublicKey(byte[] encoded) throws InvalidKeyException { method in class:DSAPublicKey
H A DDSAKeyFactory.java70 * If true, then we generate sun.security.provider.DSAPublicKey.
98 return new DSAPublicKey(dsaPubKeySpec.getY(),
110 return new DSAPublicKey
185 if (key instanceof java.security.interfaces.DSAPublicKey) {
194 java.security.interfaces.DSAPublicKey dsaPubKey
195 = (java.security.interfaces.DSAPublicKey)key;
260 if (key instanceof java.security.interfaces.DSAPublicKey) {
262 if (key instanceof sun.security.provider.DSAPublicKey) {
H A DDSAPublicKeyImpl.java35 * The difference between DSAPublicKeyImpl and DSAPublicKey is that
36 * DSAPublicKeyImpl calls writeReplace with KeyRep, and DSAPublicKey
43 public final class DSAPublicKeyImpl extends DSAPublicKey {
H A DDSAKeyPairGenerator.java183 DSAPublicKey pub;
185 pub = new DSAPublicKey(y, p, q, g);
H A DDSA.java61 * @see DSAPublicKey
237 if (!(publicKey instanceof java.security.interfaces.DSAPublicKey)) {
241 java.security.interfaces.DSAPublicKey pub =
242 (java.security.interfaces.DSAPublicKey)publicKey;
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/keyinfo/
H A DKeyValue.java33 import java.security.interfaces.DSAPublicKey;
83 * an example of creating a <code>KeyValue</code> from a {@link DSAPublicKey}
95 * {@link DSAPublicKey} and {@link RSAPublicKey}, respectively. Note that not
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/keyvalues/
H A DDSAKeyValue.java28 import java.security.interfaces.DSAPublicKey;
93 if (key instanceof java.security.interfaces.DSAPublicKey) {
94 this.addBigIntegerElement(((DSAPublicKey) key).getParams().getP(),
96 this.addBigIntegerElement(((DSAPublicKey) key).getParams().getQ(),
98 this.addBigIntegerElement(((DSAPublicKey) key).getParams().getG(),
100 this.addBigIntegerElement(((DSAPublicKey) key).getY(),
/openjdk7/jdk/test/sun/security/provider/DSA/
H A DTestKeyPairGenerator.java42 DSAPublicKey key = (DSAPublicKey)kp.getPublic();
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DBasicChecker.java46 import java.security.interfaces.DSAPublicKey;
243 if (cKey instanceof DSAPublicKey &&
244 ((DSAPublicKey)cKey).getParams() == null) {
267 if (!(keyValueKey instanceof DSAPublicKey) ||
268 !(keyParamsKey instanceof DSAPublicKey))
272 DSAParams params = ((DSAPublicKey)keyParamsKey).getParams();
276 BigInteger y = ((DSAPublicKey)keyValueKey).getY();
H A DAlgorithmChecker.java262 if (currPubKey instanceof DSAPublicKey &&
263 ((DSAPublicKey)currPubKey).getParams() == null) {
265 if (!(prevPubKey instanceof DSAPublicKey)) {
270 DSAParams params = ((DSAPublicKey)prevPubKey).getParams();
277 BigInteger y = ((DSAPublicKey)currPubKey).getY();
H A DX509CertificatePair.java33 import java.security.interfaces.DSAPublicKey;
314 if (!(pk instanceof DSAPublicKey) ||
315 ((DSAPublicKey)pk).getParams() != null) {
319 if (!(pk instanceof DSAPublicKey) ||
320 ((DSAPublicKey)pk).getParams() != null) {
H A DForwardState.java34 import java.security.interfaces.DSAPublicKey;
180 if (newKey instanceof DSAPublicKey &&
181 ((DSAPublicKey)newKey).getParams() == null) {
H A DReverseState.java35 import java.security.interfaces.DSAPublicKey;
295 if (newKey instanceof DSAPublicKey &&
296 (((DSAPublicKey)newKey).getParams() == null)) {
H A DCrlRevocationChecker.java62 import java.security.interfaces.DSAPublicKey;
215 if (cKey instanceof DSAPublicKey &&
216 ((DSAPublicKey)cKey).getParams() == null) {
H A DSunCertPathBuilder.java36 import java.security.interfaces.DSAPublicKey;
765 if (finalPublicKey instanceof DSAPublicKey &&
766 ((DSAPublicKey)finalPublicKey).getParams() == null)
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMKeyValue.java39 import java.security.interfaces.DSAPublicKey;
71 if (key instanceof DSAPublicKey) {
72 DSAPublicKey dkey = (DSAPublicKey) key;
128 if (publicKey instanceof DSAPublicKey) {
182 private DSAPublicKey unmarshalDSAKeyValue(Element kvtElem)
218 return (DSAPublicKey) generatePublicKey(dsakf, spec);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11DSAKeyFactory.java52 if (key instanceof DSAPublicKey) {
53 DSAPublicKey dsaKey = (DSAPublicKey)key;
64 key = new sun.security.provider.DSAPublicKey(encoded);
68 + "of DSAPublicKey or have X.509 encoding");
108 PublicKey key = new sun.security.provider.DSAPublicKey(encoded);
H A DP11Key.java683 implements DSAPublicKey {
719 Key key = new sun.security.provider.DSAPublicKey
H A DP11KeyStore.java1916 } else if (alg.equals("DSA") && (publicKey instanceof DSAPublicKey)) {
1917 BigInteger y = ((DSAPublicKey)publicKey).getY();
H A DSunPKCS11.java1025 || (key instanceof DSAPublicKey);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/
H A DKeyValue.java103 if (pk instanceof java.security.interfaces.DSAPublicKey) {

Completed in 194 milliseconds