Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DSecureMessageParser.java90 SecureMessage secmsg, Key verificationKey, SigType sigType) in parseSignedCleartextMessage() argument
92 return parseSignedCleartextMessage(secmsg, verificationKey, sigType, null); in parseSignedCleartextMessage()
104 SecureMessage secmsg, Key verificationKey, SigType sigType, @Nullable byte[] associatedData) in parseSignedCleartextMessage() argument
106 if ((secmsg == null) || (verificationKey == null) || (sigType == null)) { in parseSignedCleartextMessage()
111 verificationKey, in parseSignedCleartextMessage()
128 Key verificationKey, in parseSignCryptedMessage() argument
133 return parseSignCryptedMessage(secmsg, verificationKey, sigType, decryptionKey, encType, null); in parseSignCryptedMessage()
147 Key verificationKey, in parseSignCryptedMessage() argument
154 || (verificationKey == null) in parseSignCryptedMessage()
165 SecureMessageBuilder.taggedPlaintextRequired(verificationKey, sigType, decryptionKey); in parseSignCryptedMessage()
[all …]
DCryptoOps.java188 static boolean verify(Key verificationKey, SigType sigType, byte[] signature, byte[] data) in verify() argument
190 if ((verificationKey == null) || (signature == null) || (data == null)) { in verify()
194 if (!(verificationKey instanceof PublicKey)) { in verify()
198 sigScheme.initVerify((PublicKey) verificationKey); in verify()
205 deriveAes256KeyFor(getSecretKey(verificationKey), getPurpose(sigType)); in verify()