public final class RsaSsaPkcs1PrivateKey extends com.google.protobuf.GeneratedMessage implements RsaSsaPkcs1PrivateKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PrivateKeyProtobuf type
google.crypto.tink.RsaSsaPkcs1PrivateKey| Modifier and Type | Class and Description |
|---|---|
static class |
RsaSsaPkcs1PrivateKey.Builder
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PrivateKey
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.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 RsaSsaPkcs1PrivateKey |
getDefaultInstance() |
RsaSsaPkcs1PrivateKey |
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<RsaSsaPkcs1PrivateKey> |
getParserForType() |
RsaSsaPkcs1PublicKey |
getPublicKey()
Required.
|
RsaSsaPkcs1PublicKeyOrBuilder |
getPublicKeyOrBuilder()
Required.
|
com.google.protobuf.ByteString |
getQ()
The prime factor q of n.
|
int |
getSerializedSize() |
int |
getVersion()
Required.
|
int |
hashCode() |
boolean |
hasPublicKey()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RsaSsaPkcs1PrivateKey.Builder |
newBuilder() |
static RsaSsaPkcs1PrivateKey.Builder |
newBuilder(RsaSsaPkcs1PrivateKey prototype) |
RsaSsaPkcs1PrivateKey.Builder |
newBuilderForType() |
protected RsaSsaPkcs1PrivateKey.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static RsaSsaPkcs1PrivateKey |
parseDelimitedFrom(InputStream input) |
static RsaSsaPkcs1PrivateKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPkcs1PrivateKey |
parseFrom(byte[] data) |
static RsaSsaPkcs1PrivateKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPkcs1PrivateKey |
parseFrom(ByteBuffer data) |
static RsaSsaPkcs1PrivateKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.ByteString data) |
static RsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RsaSsaPkcs1PrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPkcs1PrivateKey |
parseFrom(InputStream input) |
static RsaSsaPkcs1PrivateKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RsaSsaPkcs1PrivateKey> |
parser() |
RsaSsaPkcs1PrivateKey.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, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, 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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic int getVersion()
Required.
uint32 version = 1;getVersion in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic boolean hasPublicKey()
Required.
.google.crypto.tink.RsaSsaPkcs1PublicKey public_key = 2;hasPublicKey in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic RsaSsaPkcs1PublicKey getPublicKey()
Required.
.google.crypto.tink.RsaSsaPkcs1PublicKey public_key = 2;getPublicKey in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic RsaSsaPkcs1PublicKeyOrBuilder getPublicKeyOrBuilder()
Required.
.google.crypto.tink.RsaSsaPkcs1PublicKey public_key = 2;getPublicKeyOrBuilder in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getD()
Private exponent. Unsigned big integer in bigendian representation. Required.
bytes d = 3;getD in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic 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 bigendian representation. Required.
bytes p = 4;getP in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getQ()
The prime factor q of n. Unsigned big integer in bigendian representation. Required.
bytes q = 5;getQ in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getDp()
d mod (p - 1). Unsigned big integer in bigendian representation. Required.
bytes dp = 6;getDp in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getDq()
d mod (q - 1). Unsigned big integer in bigendian representation. Required.
bytes dq = 7;getDq in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic com.google.protobuf.ByteString getCrt()
Chinese Remainder Theorem coefficient q^(-1) mod p. Unsigned big integer in bigendian representation. Required.
bytes crt = 8;getCrt in interface RsaSsaPkcs1PrivateKeyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 RsaSsaPkcs1PrivateKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RsaSsaPkcs1PrivateKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RsaSsaPkcs1PrivateKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RsaSsaPkcs1PrivateKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RsaSsaPkcs1PrivateKey.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RsaSsaPkcs1PrivateKey.Builder newBuilder()
public static RsaSsaPkcs1PrivateKey.Builder newBuilder(RsaSsaPkcs1PrivateKey prototype)
public RsaSsaPkcs1PrivateKey.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RsaSsaPkcs1PrivateKey.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static RsaSsaPkcs1PrivateKey getDefaultInstance()
public static com.google.protobuf.Parser<RsaSsaPkcs1PrivateKey> parser()
public com.google.protobuf.Parser<RsaSsaPkcs1PrivateKey> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic RsaSsaPkcs1PrivateKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder