Uses of Class
com.google.crypto.tink.util.SecretBytes
-
-
Uses of SecretBytes in com.google.crypto.tink.aead
Methods in com.google.crypto.tink.aead that return SecretBytes Modifier and Type Method Description SecretBytesAesCtrHmacAeadKey. getAesKeyBytes()Returns the underlying AES key bytes.SecretBytesAesCtrHmacAeadKey. getHmacKeyBytes()Returns the underlying HMAC key bytes.SecretBytesAesEaxKey. getKeyBytes()Returns the underlying key bytes.SecretBytesAesGcmKey. getKeyBytes()Returns the underlying key bytes.SecretBytesAesGcmSivKey. getKeyBytes()Returns the underlying key bytes.SecretBytesChaCha20Poly1305Key. getKeyBytes()SecretBytesXAesGcmKey. getKeyBytes()SecretBytesXChaCha20Poly1305Key. getKeyBytes()Methods in com.google.crypto.tink.aead with parameters of type SecretBytes Modifier and Type Method Description static ChaCha20Poly1305KeyChaCha20Poly1305Key. create(ChaCha20Poly1305Parameters.Variant variant, SecretBytes secretBytes, java.lang.Integer idRequirement)static ChaCha20Poly1305KeyChaCha20Poly1305Key. create(SecretBytes secretBytes)static XAesGcmKeyXAesGcmKey. create(XAesGcmParameters parameters, SecretBytes secretBytes, java.lang.Integer idRequirement)static XChaCha20Poly1305KeyXChaCha20Poly1305Key. create(XChaCha20Poly1305Parameters.Variant variant, SecretBytes secretBytes, java.lang.Integer idRequirement)static XChaCha20Poly1305KeyXChaCha20Poly1305Key. create(SecretBytes secretBytes)AesCtrHmacAeadKey.BuilderAesCtrHmacAeadKey.Builder. setAesKeyBytes(SecretBytes aesKeyBytes)AesCtrHmacAeadKey.BuilderAesCtrHmacAeadKey.Builder. setHmacKeyBytes(SecretBytes hmacKeyBytes)AesEaxKey.BuilderAesEaxKey.Builder. setKeyBytes(SecretBytes keyBytes)AesGcmKey.BuilderAesGcmKey.Builder. setKeyBytes(SecretBytes keyBytes)AesGcmSivKey.BuilderAesGcmSivKey.Builder. setKeyBytes(SecretBytes keyBytes) -
Uses of SecretBytes in com.google.crypto.tink.daead
Methods in com.google.crypto.tink.daead that return SecretBytes Modifier and Type Method Description SecretBytesAesSivKey. getKeyBytes()Returns the underlying key bytes.Methods in com.google.crypto.tink.daead with parameters of type SecretBytes Modifier and Type Method Description AesSivKey.BuilderAesSivKey.Builder. setKeyBytes(SecretBytes keyBytes) -
Uses of SecretBytes in com.google.crypto.tink.hybrid
Methods in com.google.crypto.tink.hybrid that return SecretBytes Modifier and Type Method Description SecretBytesHpkePrivateKey. getPrivateKeyBytes()SecretBytesEciesPrivateKey. getX25519PrivateKeyBytes()Methods in com.google.crypto.tink.hybrid with parameters of type SecretBytes Modifier and Type Method Description static HpkePrivateKeyHpkePrivateKey. create(HpkePublicKey publicKey, SecretBytes privateKeyBytes)Creates a new HPKE private key.static EciesPrivateKeyEciesPrivateKey. createForCurveX25519(EciesPublicKey publicKey, SecretBytes x25519PrivateKeyBytes)Creates a new ECIES private key using Curve25519. -
Uses of SecretBytes in com.google.crypto.tink.internal
Methods in com.google.crypto.tink.internal that return SecretBytes Modifier and Type Method Description static SecretBytesUtil. readIntoSecretBytes(java.io.InputStream input, int length, SecretKeyAccess access)Readslengthnumber of bytes from theinputstream and returns it in aSecretBytesobject. -
Uses of SecretBytes in com.google.crypto.tink.jwt
Methods in com.google.crypto.tink.jwt that return SecretBytes Modifier and Type Method Description SecretBytesJwtHmacKey. getKeyBytes()Methods in com.google.crypto.tink.jwt with parameters of type SecretBytes Modifier and Type Method Description JwtHmacKey.BuilderJwtHmacKey.Builder. setKeyBytes(SecretBytes keyBytes) -
Uses of SecretBytes in com.google.crypto.tink.mac
Methods in com.google.crypto.tink.mac that return SecretBytes Modifier and Type Method Description SecretBytesAesCmacKey. getAesKey()Returns the underlying AES key.SecretBytesHmacKey. getKeyBytes()Returns the underlying key bytes.Methods in com.google.crypto.tink.mac with parameters of type SecretBytes Modifier and Type Method Description AesCmacKey.BuilderAesCmacKey.Builder. setAesKeyBytes(SecretBytes aesKeyBytes)HmacKey.BuilderHmacKey.Builder. setKeyBytes(SecretBytes keyBytes) -
Uses of SecretBytes in com.google.crypto.tink.prf
Methods in com.google.crypto.tink.prf that return SecretBytes Modifier and Type Method Description SecretBytesAesCmacPrfKey. getKeyBytes()SecretBytesHkdfPrfKey. getKeyBytes()SecretBytesHmacPrfKey. getKeyBytes()Methods in com.google.crypto.tink.prf with parameters of type SecretBytes Modifier and Type Method Description static AesCmacPrfKeyAesCmacPrfKey. create(AesCmacPrfParameters parameters, SecretBytes keyBytes)HkdfPrfKey.BuilderHkdfPrfKey.Builder. setKeyBytes(SecretBytes keyBytes)HmacPrfKey.BuilderHmacPrfKey.Builder. setKeyBytes(SecretBytes keyBytes) -
Uses of SecretBytes in com.google.crypto.tink.signature
Methods in com.google.crypto.tink.signature that return SecretBytes Modifier and Type Method Description SecretBytesEd25519PrivateKey. getPrivateKeyBytes()Methods in com.google.crypto.tink.signature with parameters of type SecretBytes Modifier and Type Method Description static Ed25519PrivateKeyEd25519PrivateKey. create(Ed25519PublicKey publicKey, SecretBytes privateKeyBytes) -
Uses of SecretBytes in com.google.crypto.tink.streamingaead
Methods in com.google.crypto.tink.streamingaead that return SecretBytes Modifier and Type Method Description SecretBytesAesCtrHmacStreamingKey. getInitialKeyMaterial()SecretBytesAesGcmHkdfStreamingKey. getInitialKeyMaterial()Methods in com.google.crypto.tink.streamingaead with parameters of type SecretBytes Modifier and Type Method Description static AesCtrHmacStreamingKeyAesCtrHmacStreamingKey. create(AesCtrHmacStreamingParameters parameters, SecretBytes initialKeymaterial)static AesGcmHkdfStreamingKeyAesGcmHkdfStreamingKey. create(AesGcmHkdfStreamingParameters parameters, SecretBytes initialKeymaterial) -
Uses of SecretBytes in com.google.crypto.tink.util
Methods in com.google.crypto.tink.util that return SecretBytes Modifier and Type Method Description static SecretBytesSecretBytes. copyFrom(byte[] value, SecretKeyAccess access)Creates a new SecretBytes with the contents given invalue.static SecretBytesSecretBytes. randomBytes(int length)Creates a new SecretBytes with bytes chosen uniformly at random of lengthlength.Methods in com.google.crypto.tink.util with parameters of type SecretBytes Modifier and Type Method Description booleanSecretBytes. equalsSecretBytes(SecretBytes other)Returns true if theotherbyte array has the same bytes, in time depending only on the length of both SecretBytes objects.
-