Searched refs:keyInfo (Results 1 – 9 of 9) sorted by relevance
91 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument94 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()98 return new BCDHPrivateKey(keyInfo); in generatePrivate()102 return new BCDHPrivateKey(keyInfo); in generatePrivate()110 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument113 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()117 return new BCDHPublicKey(keyInfo); in generatePublic()121 return new BCDHPublicKey(keyInfo); in generatePublic()
64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument67 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()71 return new BCDSAPrivateKey(keyInfo); in generatePrivate()79 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument82 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()86 return new BCDSAPublicKey(keyInfo); in generatePublic()
133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument136 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()140 RSAPrivateKey rsaPrivKey = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in generatePrivate()148 return new BCRSAPrivateCrtKey(keyInfo); in generatePrivate()157 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument160 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()164 return new BCRSAPublicKey(keyInfo); in generatePublic()
86 public static AsymmetricKeyParameter createKey(SubjectPublicKeyInfo keyInfo) throws IOException in createKey() argument88 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); in createKey()93 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()99 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()132 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()153 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()191 ASN1OctetString key = new DEROctetString(keyInfo.getPublicKeyData().getBytes()); in createKey()
79 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException in createKey() argument81 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); in createKey()85 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()97 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()117 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()155 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
156 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument159 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()163 return new BCECPrivateKey(algorithm, keyInfo, configuration); in generatePrivate()171 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument174 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()178 return new BCECPublicKey(algorithm, keyInfo, configuration); in generatePublic()
12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
1094 - ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();1103 + // ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();1111 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();1146 - ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();1155 + // ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
META-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...