/external/tink/java_src/src/main/java/com/google/crypto/tink/jwt/ |
D | JwtEcdsaSignKeyManager.java | 26 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 …]
|
D | JwtEcdsaProtoSerialization.java | 124 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/ |
D | JwtEcdsaVerifyKeyManagerTest.java | 23 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()
|
D | JwtEcdsaSignKeyManagerTest.java | 29 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 …]
|
D | JwtEcdsaProtoSerializationTest.java | 69 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/ |
D | jwt_ecdsa.pb.go | 239 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/ |
D | raw_jwt_ecdsa_sign_key_manager_test.cc | 48 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()
|
D | jwt_ecdsa_sign_verify_key_manager_test.cc | 41 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()
|
D | jwt_ecdsa_sign_key_manager.h | 37 google::crypto::tink::JwtEcdsaKeyFormat, 65 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override; 69 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override;
|
D | raw_jwt_ecdsa_sign_key_manager.h | 39 google::crypto::tink::JwtEcdsaKeyFormat, 65 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override; 69 const google::crypto::tink::JwtEcdsaKeyFormat& key_format) const override;
|
D | jwt_ecdsa_sign_key_manager.cc | 31 using google::crypto::tink::JwtEcdsaKeyFormat; 72 const JwtEcdsaKeyFormat& key_format) const { in CreateKey() 82 const JwtEcdsaKeyFormat& key_format) const { in ValidateKeyFormat()
|
D | raw_jwt_ecdsa_sign_key_manager.cc | 45 using google::crypto::tink::JwtEcdsaKeyFormat; 50 const JwtEcdsaKeyFormat& jwt_ecdsa_key_format) const { in CreateKey() 113 const JwtEcdsaKeyFormat& key_format) const { in ValidateKeyFormat()
|
D | raw_jwt_ecdsa_verify_key_manager_test.cc | 45 using ::google::crypto::tink::JwtEcdsaKeyFormat; 71 JwtEcdsaKeyFormat key_format; in CreateValidEs256PrivateKey()
|
D | jwt_public_key_wrappers_test.cc | 41 using ::google::crypto::tink::JwtEcdsaKeyFormat; 62 JwtEcdsaKeyFormat key_format; in CreateTemplate()
|
/external/tink-java/src/test/java/com/google/crypto/tink/jwt/ |
D | JwtEcdsaProtoSerializationTest.java | 69 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/ |
D | JwtEcdsaProtoSerialization.java | 124 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/ |
D | jwt_key_templates.cc | 34 using ::google::crypto::tink::JwtEcdsaKeyFormat; 69 JwtEcdsaKeyFormat key_format; in NewJwtEcdsaKeyTemplate()
|
/external/tink/testing/cross_language/util/ |
D | key_util.py | 153 jwt_ecdsa_pb2.JwtEcdsaKeyFormat) 155 jwt_ecdsa_pb2.JwtEcdsaKeyFormat)
|
/external/tink-java/proto/ |
D | jwt_ecdsa.proto | 58 message JwtEcdsaKeyFormat { message
|
/external/tink/proto/ |
D | jwt_ecdsa.proto | 58 message JwtEcdsaKeyFormat { message
|
/external/tink/python/tink/proto/ |
D | jwt_ecdsa.proto | 58 message JwtEcdsaKeyFormat { message
|
/external/tink/java_src/proto/ |
D | jwt_ecdsa.proto | 58 message JwtEcdsaKeyFormat { message
|
/external/tink/cc/proto/ |
D | jwt_ecdsa.proto | 58 message JwtEcdsaKeyFormat { message
|
/external/tink/go/jwt/ |
D | jwt_ecdsa_signer_key_manager.go | 79 keyFormat := &jepb.JwtEcdsaKeyFormat{}
|
/external/tink/python/tink/jwt/ |
D | _jwt_key_templates.py | 40 key_format = jwt_ecdsa_pb2.JwtEcdsaKeyFormat(
|