public final class RsaSsaPssPrivateKey extends com.google.protobuf.GeneratedMessageV3 implements RsaSsaPssPrivateKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPssPrivateKeyProtobuf type
google.crypto.tink.RsaSsaPssPrivateKey| Modifier and Type | Class and Description |
|---|---|
static class |
RsaSsaPssPrivateKey.Builder
key_type: type.googleapis.com/google.crypto.tink.RsaSsaPssPrivateKey
|
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 RsaSsaPssPrivateKey |
getDefaultInstance() |
RsaSsaPssPrivateKey |
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<RsaSsaPssPrivateKey> |
getParserForType() |
RsaSsaPssPublicKey |
getPublicKey()
Required.
|
RsaSsaPssPublicKeyOrBuilder |
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.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RsaSsaPssPrivateKey.Builder |
newBuilder() |
static RsaSsaPssPrivateKey.Builder |
newBuilder(RsaSsaPssPrivateKey prototype) |
RsaSsaPssPrivateKey.Builder |
newBuilderForType() |
protected RsaSsaPssPrivateKey.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RsaSsaPssPrivateKey |
parseDelimitedFrom(InputStream input) |
static RsaSsaPssPrivateKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPssPrivateKey |
parseFrom(byte[] data) |
static RsaSsaPssPrivateKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPssPrivateKey |
parseFrom(ByteBuffer data) |
static RsaSsaPssPrivateKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPssPrivateKey |
parseFrom(com.google.protobuf.ByteString data) |
static RsaSsaPssPrivateKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPssPrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RsaSsaPssPrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RsaSsaPssPrivateKey |
parseFrom(InputStream input) |
static RsaSsaPssPrivateKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RsaSsaPssPrivateKey> |
parser() |
RsaSsaPssPrivateKey.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()
Required.
uint32 version = 1;getVersion in interface RsaSsaPssPrivateKeyOrBuilderpublic boolean hasPublicKey()
Required.
.google.crypto.tink.RsaSsaPssPublicKey public_key = 2;hasPublicKey in interface RsaSsaPssPrivateKeyOrBuilderpublic RsaSsaPssPublicKey getPublicKey()
Required.
.google.crypto.tink.RsaSsaPssPublicKey public_key = 2;getPublicKey in interface RsaSsaPssPrivateKeyOrBuilderpublic RsaSsaPssPublicKeyOrBuilder getPublicKeyOrBuilder()
Required.
.google.crypto.tink.RsaSsaPssPublicKey public_key = 2;getPublicKeyOrBuilder in interface RsaSsaPssPrivateKeyOrBuilderpublic com.google.protobuf.ByteString getD()
Private exponent. Unsigned big integer in bigendian representation. Required.
bytes d = 3;getD in interface RsaSsaPssPrivateKeyOrBuilderpublic 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 RsaSsaPssPrivateKeyOrBuilderpublic com.google.protobuf.ByteString getQ()
The prime factor q of n. Unsigned big integer in bigendian representation. Required.
bytes q = 5;getQ in interface RsaSsaPssPrivateKeyOrBuilderpublic com.google.protobuf.ByteString getDp()
d mod (p - 1). Unsigned big integer in bigendian representation. Required.
bytes dp = 6;getDp in interface RsaSsaPssPrivateKeyOrBuilderpublic com.google.protobuf.ByteString getDq()
d mod (q - 1). Unsigned big integer in bigendian representation. Required.
bytes dq = 7;getDq in interface RsaSsaPssPrivateKeyOrBuilderpublic 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 RsaSsaPssPrivateKeyOrBuilderpublic 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 RsaSsaPssPrivateKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPssPrivateKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPssPrivateKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPssPrivateKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPssPrivateKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPssPrivateKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RsaSsaPssPrivateKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static RsaSsaPssPrivateKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RsaSsaPssPrivateKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RsaSsaPssPrivateKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RsaSsaPssPrivateKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RsaSsaPssPrivateKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RsaSsaPssPrivateKey.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RsaSsaPssPrivateKey.Builder newBuilder()
public static RsaSsaPssPrivateKey.Builder newBuilder(RsaSsaPssPrivateKey prototype)
public RsaSsaPssPrivateKey.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RsaSsaPssPrivateKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RsaSsaPssPrivateKey getDefaultInstance()
public static com.google.protobuf.Parser<RsaSsaPssPrivateKey> parser()
public com.google.protobuf.Parser<RsaSsaPssPrivateKey> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RsaSsaPssPrivateKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder