Searched refs:keyAlgorithm (Results 1 – 10 of 10) sorted by relevance
36 @Nonnull public final String keyAlgorithm; field in SignatureAlgorithm57 … @Nonnull String keyAlgorithm, int minSdkVersion, @Nonnull String signatureAlgorithmSuffix) { in SignatureAlgorithm()58 this.keyAlgorithm = keyAlgorithm; in SignatureAlgorithm()74 public static SignatureAlgorithm fromKeyAlgorithm(@Nonnull String keyAlgorithm, in fromKeyAlgorithm() argument77 if (alg.keyAlgorithm.equalsIgnoreCase(keyAlgorithm)) { in fromKeyAlgorithm()79 throw new NoSuchAlgorithmException("Signatures with " + keyAlgorithm in fromKeyAlgorithm()89 throw new NoSuchAlgorithmException("Signing with " + keyAlgorithm in fromKeyAlgorithm()
95 String keyAlgorithm = resourceName.substring(0, delimiterIndex).toUpperCase(Locale.US); in toPrivateKey() local96 return toPrivateKey(cls, resourceName, keyAlgorithm); in toPrivateKey()100 Class <?> cls, String resourceName, String keyAlgorithm) in toPrivateKey() argument107 switch (keyAlgorithm.toUpperCase(Locale.US)) { in toPrivateKey()118 throw new InvalidKeySpecException("Unsupported key algorithm: " + keyAlgorithm); in toPrivateKey()
81 String keyAlgorithm = publicKey.getAlgorithm(); in getSignerInfoSignatureAlgorithm() local94 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSignerInfoSignatureAlgorithm()98 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSignerInfoSignatureAlgorithm()119 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSignerInfoSignatureAlgorithm()124 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSignerInfoSignatureAlgorithm()
89 String keyAlgorithm = signingKey.getAlgorithm(); in getSuggestedSignatureAlgorithms() local90 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()110 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()118 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()135 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSuggestedSignatureAlgorithms()
306 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseSigner() local310 KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseSigner()
77 String keyAlgorithm = signingKey.getAlgorithm(); in getSuggestedSignatureAlgorithms() local78 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()98 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()106 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()123 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSuggestedSignatureAlgorithms()
354 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseSigner() local358 KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseSigner()
110 String keyAlgorithm = signingKey.getAlgorithm(); in getSuggestedSignatureDigestAlgorithm() local111 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureDigestAlgorithm()117 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureDigestAlgorithm()124 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureDigestAlgorithm()131 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSuggestedSignatureDigestAlgorithm()
144 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseAndVerifySignatureBlock() local149 publicKey = KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseAndVerifySignatureBlock()
327 String keyAlgorithm = config.certificates.get(0).getPublicKey().getAlgorithm(); in createV3SignerConfigs() local330 + keyAlgorithm in createV3SignerConfigs()