Home
last modified time | relevance | path

Searched refs:sigScheme (Results 1 – 1 of 1) sorted by relevance

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DCryptoOps.java59 return sigScheme; in getSigScheme()
70 public static SigType valueOf(SecureMessageProto.SigScheme sigScheme) { in valueOf() argument
72 if (value.sigScheme.equals(sigScheme)) { in valueOf()
76 throw new IllegalArgumentException("Unsupported SigType: " + sigScheme); in valueOf()
79 private final SecureMessageProto.SigScheme sigScheme; field in CryptoOps.SigType
84 this.sigScheme = sigType; in SigType()
158 Signature sigScheme = Signature.getInstance(sigType.getJcaName()); in sign() local
159 sigScheme.initSign((PrivateKey) signingKey, rng); in sign()
164 sigScheme.update(SALT); in sign()
165 sigScheme.update(data); in sign()
[all …]