public final class JwtHmacKey extends com.google.protobuf.GeneratedMessageLite<JwtHmacKey,JwtHmacKey.Builder> implements JwtHmacKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.JwtHmacKeyProtobuf type
google.crypto.tink.JwtHmacKey| Modifier and Type | Class and Description |
|---|---|
static class |
JwtHmacKey.Builder
key_type: type.googleapis.com/google.crypto.tink.JwtHmacKey
|
static class |
JwtHmacKey.CustomKid
Optional, custom kid header value to be used with "RAW" keys.
|
static interface |
JwtHmacKey.CustomKidOrBuilder |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm| Modifier and Type | Field and Description |
|---|---|
static int |
ALGORITHM_FIELD_NUMBER |
static int |
CUSTOM_KID_FIELD_NUMBER |
static int |
KEY_VALUE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
JwtHmacAlgorithm |
getAlgorithm()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2; |
int |
getAlgorithmValue()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2; |
JwtHmacKey.CustomKid |
getCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
static JwtHmacKey |
getDefaultInstance() |
com.google.protobuf.ByteString |
getKeyValue()
bytes key_value = 3; |
int |
getVersion()
uint32 version = 1; |
boolean |
hasCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4; |
static JwtHmacKey.Builder |
newBuilder() |
static JwtHmacKey.Builder |
newBuilder(JwtHmacKey prototype) |
static JwtHmacKey |
parseDelimitedFrom(InputStream input) |
static JwtHmacKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtHmacKey |
parseFrom(byte[] data) |
static JwtHmacKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtHmacKey |
parseFrom(ByteBuffer data) |
static JwtHmacKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtHmacKey |
parseFrom(com.google.protobuf.ByteString data) |
static JwtHmacKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtHmacKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static JwtHmacKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtHmacKey |
parseFrom(InputStream input) |
static JwtHmacKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<JwtHmacKey> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int VERSION_FIELD_NUMBER
public static final int ALGORITHM_FIELD_NUMBER
public static final int KEY_VALUE_FIELD_NUMBER
public static final int CUSTOM_KID_FIELD_NUMBER
public int getVersion()
uint32 version = 1;getVersion in interface JwtHmacKeyOrBuilderpublic int getAlgorithmValue()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2;getAlgorithmValue in interface JwtHmacKeyOrBuilderpublic JwtHmacAlgorithm getAlgorithm()
.google.crypto.tink.JwtHmacAlgorithm algorithm = 2;getAlgorithm in interface JwtHmacKeyOrBuilderpublic com.google.protobuf.ByteString getKeyValue()
bytes key_value = 3;getKeyValue in interface JwtHmacKeyOrBuilderpublic boolean hasCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;hasCustomKid in interface JwtHmacKeyOrBuilderpublic JwtHmacKey.CustomKid getCustomKid()
.google.crypto.tink.JwtHmacKey.CustomKid custom_kid = 4;getCustomKid in interface JwtHmacKeyOrBuilderpublic static JwtHmacKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtHmacKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtHmacKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtHmacKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtHmacKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtHmacKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtHmacKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static JwtHmacKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JwtHmacKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static JwtHmacKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JwtHmacKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static JwtHmacKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JwtHmacKey.Builder newBuilder()
public static JwtHmacKey.Builder newBuilder(JwtHmacKey prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<JwtHmacKey,JwtHmacKey.Builder>public static JwtHmacKey getDefaultInstance()
public static com.google.protobuf.Parser<JwtHmacKey> parser()