public final class RsaSsaPkcs1PrivateKey extends com.google.protobuf.GeneratedMessageLite<RsaSsaPkcs1PrivateKey,RsaSsaPkcs1PrivateKey.Builder> 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.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 |
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 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
com.google.protobuf.ByteString |
getCrt()
Chinese Remainder Theorem coefficient q^(-1) mod p.
|
com.google.protobuf.ByteString |
getD()
Private exponent.
|
static RsaSsaPkcs1PrivateKey |
getDefaultInstance() |
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.
|
RsaSsaPkcs1PublicKey |
getPublicKey()
Required.
|
com.google.protobuf.ByteString |
getQ()
The prime factor q of n.
|
int |
getVersion()
Required.
|
boolean |
hasPublicKey()
Required.
|
static RsaSsaPkcs1PrivateKey.Builder |
newBuilder() |
static RsaSsaPkcs1PrivateKey.Builder |
newBuilder(RsaSsaPkcs1PrivateKey prototype) |
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() |
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 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 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 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 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 static RsaSsaPkcs1PrivateKey.Builder newBuilder()
public static RsaSsaPkcs1PrivateKey.Builder newBuilder(RsaSsaPkcs1PrivateKey prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<RsaSsaPkcs1PrivateKey,RsaSsaPkcs1PrivateKey.Builder>public static RsaSsaPkcs1PrivateKey getDefaultInstance()
public static com.google.protobuf.Parser<RsaSsaPkcs1PrivateKey> parser()