Searched refs:PublicKeyProtoUtil (Results 1 – 6 of 6) sorted by relevance
18 import com.google.security.cryptauth.lib.securemessage.PublicKeyProtoUtil;85 return PublicKeyProtoUtil.encodeDh2048PrivateKey((DHPrivateKey) sk); in encodeKeyAgreementPrivateKey()93 return PublicKeyProtoUtil.parseDh2048PrivateKey(keyBytes); in parseKeyAgreementPrivateKey()131 return PublicKeyProtoUtil.isLegacyCryptoRequired() || simulateLegacyCryptoRequired; in isLegacyCryptoRequired()143 return PublicKeyProtoUtil.encodePublicKey(pk).toByteArray(); in encodePublicKey()148 return PublicKeyProtoUtil.parsePublicKey(GenericPublicKey.parseFrom(keyBytes)); in parsePublicKey()
23 import com.google.security.cryptauth.lib.securemessage.PublicKeyProtoUtil;95 ourKeyPair = PublicKeyProtoUtil.generateEcP256KeyPair(); in D2DDiffieHellmanKeyExchangeHandshake()130 .setPublicDhKey(PublicKeyProtoUtil.encodePublicKey(ourKeyPair.getPublic())) in getNextHandshakeMessage()267 theirPublicKey = PublicKeyProtoUtil.parsePublicKey(initiatorHelloProto.getPublicDhKey()); in parseInitiatorHello()
24 import com.google.security.cryptauth.lib.securemessage.PublicKeyProtoUtil;109 return PublicKeyProtoUtil.generateDh2048KeyPair(); in generateEnrollmentKeyAgreementKeyPair()111 return PublicKeyProtoUtil.generateEcP256KeyPair(); in generateEnrollmentKeyAgreementKeyPair()
27 import com.google.security.cryptauth.lib.securemessage.PublicKeyProtoUtil;74 responderHello.setPublicDhKey(PublicKeyProtoUtil.encodePublicKey(publicDhKey)); in signcryptMessageAndResponderHello()188 PublicKey theirPublicKey = PublicKeyProtoUtil.parsePublicKey(theirGenericPublicKey); in deriveSharedKeyFromGenericPublicKey()
26 import com.google.security.cryptauth.lib.securemessage.PublicKeyProtoUtil;576 PublicKeyProtoUtil.encodePublicKey(ourKeyPair.getPublic()).toByteString()); in makeServerInitMessage()590 return PublicKeyProtoUtil.generateEcP256KeyPair(); in genKeyPair()881 return PublicKeyProtoUtil.parsePublicKey(GenericPublicKey.parseFrom(encodedPublicKey)); in parseP256PublicKey()910 byte[] encodedKey = PublicKeyProtoUtil.encodePublicKey(p256KeyPair.getPublic()).toByteArray(); in generateP256SHA512ClientFinished()
52 public class PublicKeyProtoUtil { class54 private PublicKeyProtoUtil() {} // Do not instantiate in PublicKeyProtoUtil() method in PublicKeyProtoUtil