Home
last modified time | relevance | path

Searched refs:JwtEcdsaKeyFormat (Results 1 – 25 of 29) sorted by relevance

12

/external/tink/java_src/src/main/java/com/google/crypto/tink/jwt/
DJwtEcdsaSignKeyManager.java26 import com.google.crypto.tink.proto.JwtEcdsaKeyFormat;
151 public KeyTypeManager.KeyFactory<JwtEcdsaKeyFormat, JwtEcdsaPrivateKey> keyFactory() {
152 return new KeyTypeManager.KeyFactory<JwtEcdsaKeyFormat, JwtEcdsaPrivateKey>(
153 JwtEcdsaKeyFormat.class) {
155 public void validateKeyFormat(JwtEcdsaKeyFormat format) throws GeneralSecurityException {
160 public JwtEcdsaKeyFormat parseKeyFormat(ByteString byteString)
162 return JwtEcdsaKeyFormat.parseFrom(byteString, ExtensionRegistryLite.getEmptyRegistry());
166 public JwtEcdsaPrivateKey deriveKey(JwtEcdsaKeyFormat format, InputStream inputStream) {
171 public JwtEcdsaPrivateKey createKey(JwtEcdsaKeyFormat format)
202 public Map<String, KeyFactory.KeyFormat<JwtEcdsaKeyFormat>> keyFormats() {
[all …]
DJwtEcdsaProtoSerialization.java124 private static com.google.crypto.tink.proto.JwtEcdsaKeyFormat serializeToJwtEcdsaKeyFormat( in serializeToJwtEcdsaKeyFormat()
133 return com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeToJwtEcdsaKeyFormat()
160 com.google.crypto.tink.proto.JwtEcdsaKeyFormat format; in parseParameters()
163 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parseFrom( in parseParameters()
/external/tink/java_src/src/test/java/com/google/crypto/tink/jwt/
DJwtEcdsaVerifyKeyManagerTest.java23 import com.google.crypto.tink.proto.JwtEcdsaKeyFormat;
41 private final KeyTypeManager.KeyFactory<JwtEcdsaKeyFormat, JwtEcdsaPrivateKey> factory =
74 JwtEcdsaKeyFormat keyFormat = JwtEcdsaKeyFormat.newBuilder().setAlgorithm(algorithm).build(); in validateKey_ok()
88 JwtEcdsaKeyFormat keyFormat = JwtEcdsaKeyFormat.newBuilder().setAlgorithm(algorithm).build(); in createPrimitive_ok()
110 JwtEcdsaKeyFormat keyFormat = JwtEcdsaKeyFormat.newBuilder().setAlgorithm(algorithm).build(); in createPrimitive_anotherKey_throw()
DJwtEcdsaSignKeyManagerTest.java29 import com.google.crypto.tink.proto.JwtEcdsaKeyFormat;
71 private final KeyTypeManager.KeyFactory<JwtEcdsaKeyFormat, JwtEcdsaPrivateKey> factory =
74 private static JwtEcdsaKeyFormat createKeyFormat(JwtEcdsaAlgorithm algorithm) { in createKeyFormat()
75 return JwtEcdsaKeyFormat.newBuilder().setAlgorithm(algorithm).build(); in createKeyFormat()
102 () -> factory.validateKeyFormat(JwtEcdsaKeyFormat.getDefaultInstance())); in validateKeyFormat_empty_throw()
109 JwtEcdsaKeyFormat format = createKeyFormat(algorithm); in validateKeyFormat_ok()
113 private static void checkConsistency(JwtEcdsaPrivateKey privateKey, JwtEcdsaKeyFormat keyFormat) { in checkConsistency()
122 JwtEcdsaKeyFormat format = createKeyFormat(algorithm); in createKeys_ok()
132 JwtEcdsaKeyFormat format = createKeyFormat(algorithm); in createKey_alwaysNewElement_ok()
159 JwtEcdsaKeyFormat format = createKeyFormat(algorithm); in createCorruptedPublicKeyPrimitive_throws()
[all …]
DJwtEcdsaProtoSerializationTest.java69 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyIsIgnored_works()
77 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyIsIgnored_works()
94 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyBase64_works()
102 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyBase64_works()
119 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyIsIgnored_es384_works()
127 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyIsIgnored_es384_works()
144 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyIsIgnored_es512_works()
152 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyIsIgnored_es512_works()
177 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in parseParameters_crunchy_cannotBeParsed_throws()
/external/tink/go/proto/jwt_ecdsa_go_proto/
Djwt_ecdsa.pb.go239 type JwtEcdsaKeyFormat struct { struct
248 func (x *JwtEcdsaKeyFormat) Reset() { argument
249 *x = JwtEcdsaKeyFormat{}
257 func (x *JwtEcdsaKeyFormat) String() string { argument
261 func (*JwtEcdsaKeyFormat) ProtoMessage() {} argument
263 func (x *JwtEcdsaKeyFormat) ProtoReflect() protoreflect.Message { argument
276 func (*JwtEcdsaKeyFormat) Descriptor() ([]byte, []int) { argument
280 func (x *JwtEcdsaKeyFormat) GetVersion() uint32 { argument
287 func (x *JwtEcdsaKeyFormat) GetAlgorithm() JwtEcdsaAlgorithm { argument
413 (*JwtEcdsaKeyFormat)(nil), // 3: google.crypto.tink.JwtEcdsaKeyFormat
[all …]
/external/tink/cc/jwt/internal/
Draw_jwt_ecdsa_sign_key_manager_test.cc48 using ::google::crypto::tink::JwtEcdsaKeyFormat;
69 RawJwtEcdsaSignKeyManager().ValidateKeyFormat(JwtEcdsaKeyFormat()), in TEST()
73 JwtEcdsaKeyFormat CreateValidEs256KeyFormat() { in CreateValidEs256KeyFormat()
74 JwtEcdsaKeyFormat key_format; in CreateValidEs256KeyFormat()
80 JwtEcdsaKeyFormat format = CreateValidEs256KeyFormat(); in TEST()
85 JwtEcdsaKeyFormat key_format = CreateValidEs256KeyFormat(); in TEST()
92 JwtEcdsaKeyFormat format = CreateValidEs256KeyFormat(); in TEST()
110 JwtEcdsaKeyFormat format = CreateValidEs256KeyFormat(); in TEST()
119 JwtEcdsaKeyFormat format = CreateValidEs256KeyFormat(); in CreateValidEs256Key()
Djwt_ecdsa_sign_verify_key_manager_test.cc41 using ::google::crypto::tink::JwtEcdsaKeyFormat;
79 EXPECT_THAT(JwtEcdsaSignKeyManager().ValidateKeyFormat(JwtEcdsaKeyFormat()), in TEST()
84 JwtEcdsaKeyFormat key_format; in TEST()
90 JwtEcdsaKeyFormat key_format; in TEST()
96 JwtEcdsaKeyFormat key_format; in TEST()
102 JwtEcdsaKeyFormat key_format; in TEST()
117 JwtEcdsaKeyFormat key_format; in TEST()
132 JwtEcdsaKeyFormat key_format; in TEST()
202 JwtEcdsaKeyFormat key_format; in TEST()
276 JwtEcdsaKeyFormat key_format; in TEST()
Djwt_ecdsa_sign_key_manager.h37 google::crypto::tink::JwtEcdsaKeyFormat,
65 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override;
69 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override;
Draw_jwt_ecdsa_sign_key_manager.h39 google::crypto::tink::JwtEcdsaKeyFormat,
65 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override;
69 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override;
Djwt_ecdsa_sign_key_manager.cc31 using google::crypto::tink::JwtEcdsaKeyFormat;
72 const JwtEcdsaKeyFormat& key_format) const { in CreateKey()
82 const JwtEcdsaKeyFormat& key_format) const { in ValidateKeyFormat()
Draw_jwt_ecdsa_sign_key_manager.cc45 using google::crypto::tink::JwtEcdsaKeyFormat;
50 const JwtEcdsaKeyFormat& jwt_ecdsa_key_format) const { in CreateKey()
113 const JwtEcdsaKeyFormat& key_format) const { in ValidateKeyFormat()
Draw_jwt_ecdsa_verify_key_manager_test.cc45 using ::google::crypto::tink::JwtEcdsaKeyFormat;
71 JwtEcdsaKeyFormat key_format; in CreateValidEs256PrivateKey()
Djwt_public_key_wrappers_test.cc41 using ::google::crypto::tink::JwtEcdsaKeyFormat;
62 JwtEcdsaKeyFormat key_format; in CreateTemplate()
/external/tink-java/src/test/java/com/google/crypto/tink/jwt/
DJwtEcdsaProtoSerializationTest.java69 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyIsIgnored_works()
77 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyIsIgnored_works()
94 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyBase64_works()
102 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyBase64_works()
119 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyIsIgnored_es384_works()
127 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyIsIgnored_es384_works()
144 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeParseParameters_kidStrategyIsIgnored_es512_works()
152 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parser(), serialized, serialization); in serializeParseParameters_kidStrategyIsIgnored_es512_works()
177 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in parseParameters_crunchy_cannotBeParsed_throws()
/external/tink-java/src/main/java/com/google/crypto/tink/jwt/
DJwtEcdsaProtoSerialization.java124 private static com.google.crypto.tink.proto.JwtEcdsaKeyFormat serializeToJwtEcdsaKeyFormat( in serializeToJwtEcdsaKeyFormat()
133 return com.google.crypto.tink.proto.JwtEcdsaKeyFormat.newBuilder() in serializeToJwtEcdsaKeyFormat()
160 com.google.crypto.tink.proto.JwtEcdsaKeyFormat format; in parseParameters()
163 com.google.crypto.tink.proto.JwtEcdsaKeyFormat.parseFrom( in parseParameters()
/external/tink/cc/jwt/
Djwt_key_templates.cc34 using ::google::crypto::tink::JwtEcdsaKeyFormat;
69 JwtEcdsaKeyFormat key_format; in NewJwtEcdsaKeyTemplate()
/external/tink/testing/cross_language/util/
Dkey_util.py153 jwt_ecdsa_pb2.JwtEcdsaKeyFormat)
155 jwt_ecdsa_pb2.JwtEcdsaKeyFormat)
/external/tink-java/proto/
Djwt_ecdsa.proto58 message JwtEcdsaKeyFormat { message
/external/tink/proto/
Djwt_ecdsa.proto58 message JwtEcdsaKeyFormat { message
/external/tink/python/tink/proto/
Djwt_ecdsa.proto58 message JwtEcdsaKeyFormat { message
/external/tink/java_src/proto/
Djwt_ecdsa.proto58 message JwtEcdsaKeyFormat { message
/external/tink/cc/proto/
Djwt_ecdsa.proto58 message JwtEcdsaKeyFormat { message
/external/tink/go/jwt/
Djwt_ecdsa_signer_key_manager.go79 keyFormat := &jepb.JwtEcdsaKeyFormat{}
/external/tink/python/tink/jwt/
D_jwt_key_templates.py40 key_format = jwt_ecdsa_pb2.JwtEcdsaKeyFormat(

12