HomeSort by relevance Sort by last modified time
    Searched refs:PublicKey (Results 126 - 150 of 319) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreSpiTest.java 32 import java.security.PublicKey;
251 public void verify(PublicKey key) throws CertificateException,
256 public void verify(PublicKey key, String sigProvider)
265 public PublicKey getPublicKey() {
266 return new PublicKey() {
Identity2Test.java 29 import java.security.PublicKey;
37 private static PublicKey PUB_KEY;
38 private static PublicKey getPubKey() throws Exception {
79 public PublicKey getPublicKey() {
216 PublicKey returnedPubKey = sub.getPublicKey();
217 assertEquals("Wrong PublicKey returned", getPubKey(), returnedPubKey);
380 * java.security.Identity#setPublicKey(PublicKey key)
386 PublicKey returnedPubKey = sub.getPublicKey();
387 assertEquals("Wrong PublicKey returned", getPubKey(), returnedPubKey);
390 assertEquals("Wrong PublicKey returned", null, sub.getPublicKey())
    [all...]
SignedObjectTest.java 36 import java.security.PublicKey;
  /libcore/luni/src/test/java/tests/security/cert/
CertificateTest.java 33 import java.security.PublicKey;
178 * This test just calls <code>verify(PublicKey)</code> method<br>
197 * This test just calls <code>verify(PublicKey,String)</code> method<br>
240 public class MyModifiablePublicKey implements PublicKey {
242 private PublicKey key;
250 public MyModifiablePublicKey(PublicKey k) {
310 * This test just calls <code>verify(PublicKey,String)</code> method<br>
355 PublicKey k = cert.getPublicKey();
374 * This test just calls <code>verify(PublicKey)</code> method<br>
392 PublicKey k = cert.getPublicKey()
    [all...]
PKIXCertPathBuilderResultTest.java 31 import java.security.PublicKey;
51 * PublicKey stub
53 private static PublicKey testPublicKey = new PublicKey() {
74 * PolicyNode, PublicKey)</code> constructor<br>
97 * PolicyNode, PublicKey)</code> constructor<br>
120 * PolicyNode, PublicKey)</code> constructor<br>
144 * PolicyNode, PublicKey)</code> constructor<br>
163 * PolicyNode, PublicKey)</code> constructor<br>
165 * if publicKey is <code>null</code
    [all...]
X509Certificate2Test.java 25 import java.security.PublicKey;
236 public void verify(PublicKey key) {
239 public void verify(PublicKey key, String sigProvider) {
246 public PublicKey getPublicKey() {
  /libcore/ojluni/src/main/java/sun/security/x509/
X509Key.java 32 import java.security.PublicKey;
60 public class X509Key implements PublicKey {
160 public static PublicKey parse(DerValue in) throws IOException
163 PublicKey subjectKey;
205 static PublicKey buildX509Key(AlgorithmId algid, BitArray key)
242 classname = sunProvider.getProperty("PublicKey.X.509." +
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
PKIXCertPathBuilderResultTest.java 25 import java.security.PublicKey;
49 * PublicKey stub
51 private static PublicKey testPublicKey = new PublicKey() {
81 * PolicyNode, PublicKey)</code> constructor<br>
105 * PolicyNode, PublicKey)</code> constructor<br>
129 * PolicyNode, PublicKey)</code> constructor<br>
153 * PolicyNode, PublicKey)</code> constructor<br>
172 * PolicyNode, PublicKey)</code> constructor<br>
174 * if publicKey is <code>null</code
    [all...]
X509CRLTest.java 29 import java.security.PublicKey;
86 public void verify(PublicKey key)
92 public void verify(PublicKey key, String sigProvider)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyAgreementSpi.java 8 import java.security.PublicKey;
109 // ECUtil.generatePublicKeyParameter((PublicKey)key);
131 if (!(key instanceof PublicKey))
137 pubKey = ECUtil.generatePublicKeyParameter((PublicKey)key);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java 7 import java.security.PublicKey;
121 protected PublicKey engineGeneratePublic(
157 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PoloChallengeResponse.java 23 import java.security.PublicKey;
84 PublicKey clientPubKey = mClientCertificate.getPublicKey();
85 PublicKey serverPubKey = mServerCertificate.getPublicKey();
  /libcore/ojluni/src/main/java/java/security/
Identity.java 78 private PublicKey publicKey;
160 public PublicKey getPublicKey() {
161 return publicKey;
185 public void setPublicKey(PublicKey key) throws KeyManagementException {
188 this.publicKey = key;
254 if (publicKey != null) {
255 if (!keyEquals(publicKey, certificate.getPublicKey())) {
260 publicKey = certificate.getPublicKey();
373 if ((publicKey == null) ^ (identity.publicKey == null)
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
TestCertUtils.java 37 import java.security.PublicKey;
270 * The class represents empty PublicKey.
273 public static final class TestPublicKey implements PublicKey {
344 public void verify(PublicKey key) throws CertificateException,
350 public void verify(PublicKey key, String sigProvider)
376 public PublicKey getPublicKey() {
550 public PublicKey getPublicKey() {
558 public void verify(PublicKey key, String sigProvider)
565 public void verify(PublicKey key) throws CertificateException,
  /external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
key.py 19 Create new keys with the newkeys() function. It will give you a PublicKey and a
50 :return: a PublicKey object
88 class PublicKey(AbstractKey):
97 >>> PublicKey(5, 3)
98 PublicKey(5, 3)
100 >>> key = PublicKey(5, 3)
122 return 'PublicKey(%i, %i)' % (self.n, self.e)
128 if not isinstance(other, PublicKey):
142 @return: a PublicKey object
152 >>> PublicKey._load_pkcs1_der(der
    [all...]
bigfile.py 50 :param pub_key: :py:class:`rsa.PublicKey` to encrypt with
54 if not isinstance(pub_key, key.PublicKey):
util.py 66 pub_key = rsa.key.PublicKey(priv_key.n, priv_key.e)
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
KeySetUtils.java 23 import java.security.PublicKey;
27 public static PublicKey getPubKey(KeySetManagerService ksms, long pkId)
  /libcore/benchmarks/src/benchmarks/regression/
SignatureBenchmark.java 24 import java.security.PublicKey;
64 private PublicKey publicKey;
79 this.publicKey = keyPair.getPublic();
123 verifier.initVerify(publicKey);
  /libcore/luni/src/test/java/tests/targets/security/
SignatureTestMD2withRSA.java 23 import java.security.PublicKey;
147 protected void engineInitVerify(PublicKey publicKey)
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestCertUtils.java 38 import java.security.PublicKey;
273 * The class represents empty PublicKey.
277 public static final class TestPublicKey implements PublicKey {
349 public void verify(PublicKey key) throws CertificateException,
355 public void verify(PublicKey key, String sigProvider)
381 public PublicKey getPublicKey() {
558 public PublicKey getPublicKey() {
566 public void verify(PublicKey key, String sigProvider)
573 public void verify(PublicKey key) throws CertificateException,
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
Identity2Test.java 29 import java.security.PublicKey;
37 static PublicKey pubKey;
81 public PublicKey getPublicKey() {
187 PublicKey returnedPubKey = sub.getPublicKey();
188 assertEquals("Wrong PublicKey returned", pubKey, returnedPubKey);
IdentityScope2Test.java 24 import java.security.PublicKey;
32 static PublicKey pubKey;
45 public IdentityScopeSubclass(String name, PublicKey pk) {
84 public Identity getIdentity(PublicKey pk) {
205 * @tests java.security.IdentityScope#getIdentity(java.security.PublicKey)
  /external/apache-harmony/security/src/test/api/java.injected/java/security/
SignatureTest.java 60 * Class under test for void initVerify(PublicKey)
287 private class MyPublicKey extends MyKey implements PublicKey {
298 public PublicKey getPublicKey() {
306 public void verify(PublicKey key) {
309 public void verify(PublicKey key, String sigProvider) {
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
JcaContentVerifierProviderBuilder.java 7 import java.security.PublicKey;
114 public ContentVerifierProvider build(final PublicKey publicKey)
132 SignatureOutputStream stream = createSignatureStream(algorithm, publicKey);
134 Signature rawSig = createRawSig(algorithm, publicKey);
148 public ContentVerifierProvider build(SubjectPublicKeyInfo publicKey)
151 return this.build(helper.convertPublicKey(publicKey));
154 private SignatureOutputStream createSignatureStream(AlgorithmIdentifier algorithm, PublicKey publicKey)
161 sig.initVerify(publicKey);
    [all...]

Completed in 775 milliseconds

1 2 3 4 56 7 8 91011>>