| Modifier and Type | Method and Description |
|---|---|
Bytes |
XChaCha20Poly1305Key.getOutputPrefix() |
Bytes |
ChaCha20Poly1305Key.getOutputPrefix() |
Bytes |
AesGcmSivKey.getOutputPrefix() |
Bytes |
AesGcmKey.getOutputPrefix() |
Bytes |
AesEaxKey.getOutputPrefix() |
abstract Bytes |
AeadKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to the ciphertext. |
Bytes |
AesCtrHmacAeadKey.getOutputPrefix() |
| Modifier and Type | Method and Description |
|---|---|
abstract Bytes |
DeterministicAeadKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to the ciphertext. |
Bytes |
AesSivKey.getOutputPrefix() |
| Modifier and Type | Method and Description |
|---|---|
abstract Bytes |
HybridPublicKey.getOutputPrefix()
Returns a
Bytes instance, which is prefixed to every ciphertext. |
Bytes |
HybridPrivateKey.getOutputPrefix()
Returns a
Bytes instance, which is prefixed to every ciphertext. |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
ParametersParser.getObjectIdentifier()
Returns the
objectIdentifier for this serialization. |
Bytes |
ProtoParametersSerialization.getObjectIdentifier()
The typeUrl.
|
Bytes |
ProtoKeySerialization.getObjectIdentifier()
The object identifier.
|
Bytes |
Serialization.getObjectIdentifier()
Identifies which parsing method to use in the registry.
|
Bytes |
KeyParser.getObjectIdentifier()
Returns the
objectIdentifier for this serialization. |
static Bytes |
Util.toBytesFromPrintableAscii(String s)
Converts a string
s to a corresponding Bytes object. |
| Modifier and Type | Method and Description |
|---|---|
static <SerializationT extends Serialization> |
KeyParser.create(KeyParser.KeyParsingFunction<SerializationT> function,
Bytes objectIdentifier,
Class<SerializationT> serializationClass)
Creates a KeyParser object.
|
static <SerializationT extends Serialization> |
ParametersParser.create(ParametersParser.ParametersParsingFunction<SerializationT> function,
Bytes objectIdentifier,
Class<SerializationT> serializationClass)
Creates a ParametersParser object.
|
| Modifier and Type | Method and Description |
|---|---|
Bytes |
AesCmacKey.getOutputPrefix() |
abstract Bytes |
MacKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to every mac tag. |
Bytes |
HmacKey.getOutputPrefix() |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
HkdfPrfParameters.getSalt()
Gets the salt value, which defaults to null if not set, as per RFC 5869.
|
| Modifier and Type | Method and Description |
|---|---|
HkdfPrfParameters.Builder |
HkdfPrfParameters.Builder.setSalt(Bytes salt) |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
RsaSsaPkcs1PublicKey.getOutputPrefix() |
Bytes |
Ed25519PublicKey.getOutputPrefix() |
Bytes |
SignaturePrivateKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to every signature. |
abstract Bytes |
SignaturePublicKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to every signature. |
Bytes |
EcdsaPublicKey.getOutputPrefix() |
Bytes |
Ed25519PublicKey.getPublicKeyBytes() |
| Modifier and Type | Method and Description |
|---|---|
static Ed25519PublicKey |
Ed25519PublicKey.create(Bytes publicKeyBytes) |
static Ed25519PublicKey |
Ed25519PublicKey.create(Ed25519Parameters.Variant variant,
Bytes publicKeyBytes,
Integer idRequirement) |
| Modifier and Type | Method and Description |
|---|---|
static Bytes |
Bytes.copyFrom(byte[] data) |
static Bytes |
Bytes.copyFrom(byte[] data,
int start,
int len)
Wrap an immutable byte array over a slice of a Bytes
|