Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DSecureMessageParser.java52 public static Header getUnverifiedHeader(SecureMessage secmsg) in getUnverifiedHeader() argument
54 if (!secmsg.hasHeaderAndBody()) { in getUnverifiedHeader()
57 if (!HeaderAndBody.parseFrom(secmsg.getHeaderAndBody()).hasHeader()) { in getUnverifiedHeader()
60 Header result = HeaderAndBody.parseFrom(secmsg.getHeaderAndBody()).getHeader(); in getUnverifiedHeader()
90 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()
110 secmsg, in parseSignedCleartextMessage()
127 SecureMessage secmsg, in parseSignCryptedMessage() argument
[all …]
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DTransportCryptoOps.java148 SecureMessage secmsg = SecureMessage.parseFrom(signcryptedServerMessage); in getKeyHandleFor() local
149 return SecureMessageParser.getUnverifiedHeader(secmsg).getVerificationKeyId().toByteArray(); in getKeyHandleFor()
165 SecureMessage secmsg = SecureMessage.parseFrom(signcryptedServerMessage); in verifydecryptServerMessage() local
167 secmsg, in verifydecryptServerMessage()
228 SecureMessage secmsg = SecureMessage.parseFrom(signcryptedClientMessage); in verifydecryptClientMessage() local
230 secmsg, in verifydecryptClientMessage()
255 SecureMessage secmsg = SecureMessage.parseFrom(signcryptedClientMessage); in getEncodedUserPublicKeyFor() local
256 return SecureMessageParser.getUnverifiedHeader(secmsg).getVerificationKeyId().toByteArray(); in getEncodedUserPublicKeyFor()
DD2DCryptoOps.java133 SecureMessage secmsg = SecureMessage.parseFrom(signcryptedMessageFromResponder); in parseAndValidateResponderHello() local
134 Header messageHeader = SecureMessageParser.getUnverifiedHeader(secmsg); in parseAndValidateResponderHello()
158 SecureMessage secmsg = SecureMessage.parseFrom(signcryptedMessage); in verifydecryptPayload() local
160 secmsg, in verifydecryptPayload()