Searched refs:PublicKey (Results 1 - 25 of 159) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/java/security/
H A DPublicKey.java46 public interface PublicKey extends Key { interface in inherits:Key
H A DKeyPair.java35 * @see PublicKey
46 private PublicKey publicKey;
59 public KeyPair(PublicKey publicKey, PrivateKey privateKey) {
69 public PublicKey getPublic() {
H A DCertificate.java95 public abstract PublicKey getPublicKey();
H A DKeyFactorySpi.java61 * @see PublicKey
83 protected abstract PublicKey engineGeneratePublic(KeySpec keySpec)
/openjdk7/jdk/src/share/classes/java/security/interfaces/
H A DECPublicKey.java27 import java.security.PublicKey;
36 * @see PublicKey
42 public interface ECPublicKey extends PublicKey, ECKey {
H A DDSAPublicKey.java41 public interface DSAPublicKey extends DSAKey, java.security.PublicKey {
H A DRSAPublicKey.java37 public interface RSAPublicKey extends java.security.PublicKey, RSAKey
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/keyvalues/
H A DKeyValueContent.java25 import java.security.PublicKey;
45 public PublicKey getPublicKey()
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DPKIXCertPathValidatorResult.java28 import java.security.PublicKey;
62 private PublicKey subjectPublicKey;
77 PolicyNode policyTree, PublicKey subjectPublicKey)
125 public PublicKey getPublicKey() {
H A DPKIXCertPathBuilderResult.java28 import java.security.PublicKey;
80 PublicKey subjectPublicKey)
H A DCertificate.java30 import java.security.PublicKey;
154 * @param key the PublicKey used to carry out the verification.
163 public abstract void verify(PublicKey key)
174 * @param key the PublicKey used to carry out the verification.
184 public abstract void verify(PublicKey key, String sigProvider)
201 public abstract PublicKey getPublicKey();
H A DTrustAnchor.java29 import java.security.PublicKey;
66 private final PublicKey pubKey;
163 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey,
206 public TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints)
266 public final PublicKey getCAPublicKey() {
/openjdk7/jdk/src/share/classes/javax/crypto/interfaces/
H A DDHPublicKey.java39 public interface DHPublicKey extends DHKey, java.security.PublicKey {
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/keyinfo/
H A DKeyValue.java32 import java.security.PublicKey;
82 * java.security.PublicKey} representing the value of the public key. Here is
88 * PublicKey dsaPublicKey = keyStore.getCertificate("myDSASigningCert").getPublicKey();
102 * @see KeyInfoFactory#newKeyValue(PublicKey)
131 * to a <code>PublicKey</code>
133 PublicKey getPublicKey() throws KeyException;
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DSunCertPathBuilderResult.java29 import java.security.PublicKey;
69 PublicKey subjectPublicKey, AdjacencyList adjList)
/openjdk7/jdk/test/java/security/Signature/
H A DVerifyRangeCheckOverflow.java36 import java.security.PublicKey;
45 PublicKey publicKey = keys.getPublic();
/openjdk7/jdk/src/share/classes/javax/security/cert/
H A DCertificate.java29 import java.security.PublicKey;
131 * @param key the PublicKey used to carry out the verification.
140 public abstract void verify(PublicKey key)
151 * @param key the PublicKey used to carry out the verification.
159 public abstract void verify(PublicKey key, String sigProvider)
176 public abstract PublicKey getPublicKey();
/openjdk7/jdk/test/java/security/Identity/
H A DEqualsHashCodeContract.java44 PublicKey pk1=new MyPublicKey();
45 PublicKey pk2=new MyPublicKey();
75 class MyPublicKey implements PublicKey, Certificate {
109 public PublicKey getPublicKey() {
131 public Identity getIdentity(PublicKey key) {
/openjdk7/jdk/test/sun/security/rsa/
H A DTestKeyFactory.java60 if (key1 instanceof PublicKey) {
77 private static void testPublic(KeyFactory kf, PublicKey key) throws Exception {
79 PublicKey key2 = (PublicKey)kf.translateKey(key);
81 PublicKey key3 = kf.generatePublic(rsaSpec);
83 PublicKey key4 = kf.generatePublic(x509Spec);
85 PublicKey key5 = kf.generatePublic(x509Spec2);
121 if (key instanceof PublicKey) {
122 testPublic(kf, (PublicKey)key);
/openjdk7/jdk/test/sun/security/pkcs11/ec/
H A DTestKeyFactory.java49 if (key1 instanceof PublicKey) {
70 private static void testPublic(KeyFactory kf, PublicKey key) throws Exception {
72 PublicKey key2 = (PublicKey)kf.translateKey(key);
74 PublicKey key3 = kf.generatePublic(keySpec);
76 PublicKey key4 = kf.generatePublic(x509Spec);
78 PublicKey key5 = kf.generatePublic(x509Spec2);
106 if (key instanceof PublicKey) {
107 testPublic(kf, (PublicKey)key);
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DTestKeyFactory.java61 if (key1 instanceof PublicKey) {
78 private static void testPublic(KeyFactory kf, PublicKey key) throws Exception {
80 PublicKey key2 = (PublicKey)kf.translateKey(key);
82 PublicKey key3 = kf.generatePublic(rsaSpec);
84 PublicKey key4 = kf.generatePublic(x509Spec);
86 PublicKey key5 = kf.generatePublic(x509Spec2);
123 if (key instanceof PublicKey) {
124 testPublic(kf, (PublicKey)key);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DECDHClientKeyExchange.java31 import java.security.PublicKey;
55 ECDHClientKeyExchange(PublicKey publicKey) {
H A DECDHCrypt.java52 ECDHCrypt(PrivateKey privateKey, PublicKey publicKey) {
87 PublicKey getPublicKey() {
92 SecretKey getAgreedSecret(PublicKey peerPublicKey) {
110 PublicKey peerPublicKey = kf.generatePublic(spec);
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertificateX509Key.java28 import java.security.PublicKey;
56 private PublicKey key;
63 public CertificateX509Key(PublicKey key) {
115 this.key = (PublicKey)obj;
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyFactory.java127 if (key instanceof PublicKey) {
128 PublicKey publicKey = implTranslatePublicKey((PublicKey)key);
137 ("Key must be instance of PublicKey or PrivateKey");
147 abstract PublicKey implTranslatePublicKey(PublicKey key)

Completed in 44 milliseconds

1234567