Searched refs:keyInfo (Results 1 – 11 of 11) sorted by relevance
99 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument102 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()106 return new BCDHPrivateKey(keyInfo); in generatePrivate()110 return new BCDHPrivateKey(keyInfo); in generatePrivate()118 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument121 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()125 return new BCDHPublicKey(keyInfo); in generatePublic()129 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()
163 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument166 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()170 return new BCECPrivateKey(algorithm, keyInfo, configuration); in generatePrivate()178 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument181 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()185 return new BCECPublicKey(algorithm, keyInfo, configuration); in generatePublic()
12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
428 KeyInfoType keyInfo = KeyInfoType.valueOf(key);433 switch (keyInfo) {
426 KeyInfoType keyInfo = KeyInfoType.valueOf(key);431 switch (keyInfo) {
10 keyInfo{
1211 - ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();1220 + // ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();1228 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();1263 - ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();1272 + // ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();