Interface PrivatePasswordLeakVerificationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PrivatePasswordLeakVerification,PrivatePasswordLeakVerification.Builder
@Generated
public interface PrivatePasswordLeakVerificationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetEncryptedLeakMatchPrefixes(int index) Output only.intOutput only.List<com.google.protobuf.ByteString>Output only.com.google.protobuf.ByteStringOptional.com.google.protobuf.ByteStringRequired.com.google.protobuf.ByteStringOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLookupHashPrefix
com.google.protobuf.ByteString getLookupHashPrefix()Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized username. It is used to look up password leaks associated with that hash prefix.
bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The lookupHashPrefix.
-
getEncryptedUserCredentialsHash
com.google.protobuf.ByteString getEncryptedUserCredentialsHash()Optional. Encrypted Scrypt hash of the canonicalized username+password. It is re-encrypted by the server and returned through `reencrypted_user_credentials_hash`.
bytes encrypted_user_credentials_hash = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The encryptedUserCredentialsHash.
-
getEncryptedLeakMatchPrefixesList
List<com.google.protobuf.ByteString> getEncryptedLeakMatchPrefixesList()Output only. List of prefixes of the encrypted potential password leaks that matched the given parameters. They must be compared with the client-side decryption prefix of `reencrypted_user_credentials_hash`
repeated bytes encrypted_leak_match_prefixes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- A list containing the encryptedLeakMatchPrefixes.
-
getEncryptedLeakMatchPrefixesCount
int getEncryptedLeakMatchPrefixesCount()Output only. List of prefixes of the encrypted potential password leaks that matched the given parameters. They must be compared with the client-side decryption prefix of `reencrypted_user_credentials_hash`
repeated bytes encrypted_leak_match_prefixes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The count of encryptedLeakMatchPrefixes.
-
getEncryptedLeakMatchPrefixes
com.google.protobuf.ByteString getEncryptedLeakMatchPrefixes(int index) Output only. List of prefixes of the encrypted potential password leaks that matched the given parameters. They must be compared with the client-side decryption prefix of `reencrypted_user_credentials_hash`
repeated bytes encrypted_leak_match_prefixes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index of the element to return.- Returns:
- The encryptedLeakMatchPrefixes at the given index.
-
getReencryptedUserCredentialsHash
com.google.protobuf.ByteString getReencryptedUserCredentialsHash()Output only. Corresponds to the re-encryption of the `encrypted_user_credentials_hash` field. It is used to match potential password leaks within `encrypted_leak_match_prefixes`.
bytes reencrypted_user_credentials_hash = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The reencryptedUserCredentialsHash.
-