Searched refs:keyAlgorithm (Results 1 – 7 of 7) 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()
84 String keyAlgorithm = resourceName.substring(0, delimiterIndex).toUpperCase(Locale.US); in toPrivateKey() local85 return toPrivateKey(cls, resourceName, keyAlgorithm); in toPrivateKey()89 Class <?> cls, String resourceName, String keyAlgorithm) in toPrivateKey() argument96 switch (keyAlgorithm.toUpperCase(Locale.US)) { in toPrivateKey()107 throw new InvalidKeySpecException("Unsupported key algorithm: " + keyAlgorithm); in toPrivateKey()
91 String keyAlgorithm = signingKey.getAlgorithm(); in getSuggestedSignatureAlgorithms() local92 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()112 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()120 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()137 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSuggestedSignatureAlgorithms()
302 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseSigner() local306 KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseSigner()
116 String keyAlgorithm = signingKey.getAlgorithm(); in getSuggestedSignatureDigestAlgorithm() local117 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureDigestAlgorithm()123 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureDigestAlgorithm()130 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureDigestAlgorithm()137 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSuggestedSignatureDigestAlgorithm()615 String keyAlgorithm = publicKey.getAlgorithm(); in getSignerInfoSignatureAlgorithm() local628 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSignerInfoSignatureAlgorithm()632 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSignerInfoSignatureAlgorithm()655 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSignerInfoSignatureAlgorithm()661 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSignerInfoSignatureAlgorithm()
80 String keyAlgorithm = signingKey.getAlgorithm(); in getSuggestedSignatureAlgorithms() local81 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()101 } else if ("DSA".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()109 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getSuggestedSignatureAlgorithms()126 throw new InvalidKeyException("Unsupported key algorithm: " + keyAlgorithm); in getSuggestedSignatureAlgorithms()
350 String keyAlgorithm = signatureAlgorithm.getJcaKeyAlgorithm(); in parseSigner() local354 KeyFactory.getInstance(keyAlgorithm).generatePublic( in parseSigner()