1
0
mirror of https://github.com/bitwarden/server synced 2026-01-02 08:33:48 +00:00
Files
server/test/Common/Constants/TestEncryptionConstants.cs

24 lines
968 B
C#

namespace Bit.Test.Common.Constants;
public static class TestEncryptionConstants
{
// V1-style encrypted strings (AES-CBC-HMAC formats) accepted by validators
public const string V1EncryptedBase64 = "2.QmFzZTY0UGFydA==|QmFzZTY0UGFydA==|QmFzZTY0UGFydA==";
// Public key test placeholder
public const string PublicKey = "pk_test";
// V2-style values used across tests
// Private key indicating v2 (used in multiple tests to mark v2 state)
public const string V2PrivateKey = "7.cose";
// Wrapped signing key and verifying key values from real tests
public const string V2WrappedSigningKey = "test-wrapped-signing-key";
public const string V2VerifyingKey = "test-verifying-key";
// Additional related v2 values used in tests
public const string V2PublicKey = "test-public-key";
public const string V2WrappedPrivateKey = "test-private-key";
public const string V2SignedPublicKey = "test-signed-public-key";
}