public final class JwtRsaSsaPkcs1PrivateKey extends com.google.protobuf.GeneratedMessageV3 implements JwtRsaSsaPkcs1PrivateKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PrivateKeyProtobuf type
google.crypto.tink.JwtRsaSsaPkcs1PrivateKey| Modifier and Type | Class and Description |
|---|---|
static class |
JwtRsaSsaPkcs1PrivateKey.Builder
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PrivateKey
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CRT_FIELD_NUMBER |
static int |
D_FIELD_NUMBER |
static int |
DP_FIELD_NUMBER |
static int |
DQ_FIELD_NUMBER |
static int |
P_FIELD_NUMBER |
static int |
PUBLIC_KEY_FIELD_NUMBER |
static int |
Q_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getCrt()
Chinese Remainder Theorem coefficient q^(-1) mod p.
|
com.google.protobuf.ByteString |
getD()
Private exponent.
|
static JwtRsaSsaPkcs1PrivateKey |
getDefaultInstance() |
JwtRsaSsaPkcs1PrivateKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getDp()
d mod (p - 1).
|
com.google.protobuf.ByteString |
getDq()
d mod (q - 1).
|
com.google.protobuf.ByteString |
getP()
The following parameters are used to optimize RSA signature computation.
|
com.google.protobuf.Parser<JwtRsaSsaPkcs1PrivateKey> |
getParserForType() |
JwtRsaSsaPkcs1PublicKey |
getPublicKey()
.google.crypto.tink.JwtRsaSsaPkcs1PublicKey public_key = 2; |
JwtRsaSsaPkcs1PublicKeyOrBuilder |
getPublicKeyOrBuilder()
.google.crypto.tink.JwtRsaSsaPkcs1PublicKey public_key = 2; |
com.google.protobuf.ByteString |
getQ()
The prime factor q of n.
|
int |
getSerializedSize() |
int |
getVersion()
uint32 version = 1; |
int |
hashCode() |
boolean |
hasPublicKey()
.google.crypto.tink.JwtRsaSsaPkcs1PublicKey public_key = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static JwtRsaSsaPkcs1PrivateKey.Builder |
newBuilder() |
static JwtRsaSsaPkcs1PrivateKey.Builder |
newBuilder(JwtRsaSsaPkcs1PrivateKey prototype) |
JwtRsaSsaPkcs1PrivateKey.Builder |
newBuilderForType() |
protected JwtRsaSsaPkcs1PrivateKey.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static JwtRsaSsaPkcs1PrivateKey |
parseDelimitedFrom(InputStream input) |
static JwtRsaSsaPkcs1PrivateKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(byte[] data) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(ByteBuffer data) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.ByteString data) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(InputStream input) |
static JwtRsaSsaPkcs1PrivateKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<JwtRsaSsaPkcs1PrivateKey> |
parser() |
JwtRsaSsaPkcs1PrivateKey.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERSION_FIELD_NUMBER
public static final int PUBLIC_KEY_FIELD_NUMBER
public static final int D_FIELD_NUMBER
public static final int P_FIELD_NUMBER
public static final int Q_FIELD_NUMBER
public static final int DP_FIELD_NUMBER
public static final int DQ_FIELD_NUMBER
public static final int CRT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getVersion()
uint32 version = 1;getVersion in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic boolean hasPublicKey()
.google.crypto.tink.JwtRsaSsaPkcs1PublicKey public_key = 2;hasPublicKey in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic JwtRsaSsaPkcs1PublicKey getPublicKey()
.google.crypto.tink.JwtRsaSsaPkcs1PublicKey public_key = 2;getPublicKey in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic JwtRsaSsaPkcs1PublicKeyOrBuilder getPublicKeyOrBuilder()
.google.crypto.tink.JwtRsaSsaPkcs1PublicKey public_key = 2;getPublicKeyOrBuilder in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getD()
Private exponent. Unsigned big integer in big-endian representation.
bytes d = 3;getD in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getP()
The following parameters are used to optimize RSA signature computation. The prime factor p of n. Unsigned big integer in big-endian representation.
bytes p = 4;getP in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getQ()
The prime factor q of n. Unsigned big integer in big-endian representation.
bytes q = 5;getQ in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getDp()
d mod (p - 1). Unsigned big integer in big-endian representation.
bytes dp = 6;getDp in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getDq()
d mod (q - 1). Unsigned big integer in big-endian representation.
bytes dq = 7;getDq in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getCrt()
Chinese Remainder Theorem coefficient q^(-1) mod p. Unsigned big integer in big-endian representation.
bytes crt = 8;getCrt in interface JwtRsaSsaPkcs1PrivateKeyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static JwtRsaSsaPkcs1PrivateKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static JwtRsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic JwtRsaSsaPkcs1PrivateKey.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static JwtRsaSsaPkcs1PrivateKey.Builder newBuilder()
public static JwtRsaSsaPkcs1PrivateKey.Builder newBuilder(JwtRsaSsaPkcs1PrivateKey prototype)
public JwtRsaSsaPkcs1PrivateKey.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected JwtRsaSsaPkcs1PrivateKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static JwtRsaSsaPkcs1PrivateKey getDefaultInstance()
public static com.google.protobuf.Parser<JwtRsaSsaPkcs1PrivateKey> parser()
public com.google.protobuf.Parser<JwtRsaSsaPkcs1PrivateKey> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public JwtRsaSsaPkcs1PrivateKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder