Documentation ¶
Index ¶
Constants ¶
const A256KWAlg = "ECDH-1PU+A256KW"
A256KWAlg is the ECDH-1PU key wrapping algorithm.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECDH1PUAEADCompositeDecrypt ¶
type ECDH1PUAEADCompositeDecrypt struct {
// contains filtered or unexported fields
}
ECDH1PUAEADCompositeDecrypt is an instance of ECDH-1PU decryption with Concat KDF and AEAD content decryption.
func NewECDH1PUAEADCompositeDecrypt ¶
func NewECDH1PUAEADCompositeDecrypt(senderPub *hybrid.ECPublicKey, recPvt *hybrid.ECPrivateKey, ptFormat string, encHelper composite.EncrypterHelper, keyType commonpb.KeyType) *ECDH1PUAEADCompositeDecrypt
NewECDH1PUAEADCompositeDecrypt returns ECDH-ES composite decryption construct with Concat KDF/ECDH-1PU key unwrapping and AEAD payload decryption.
type ECDH1PUAEADCompositeEncrypt ¶
type ECDH1PUAEADCompositeEncrypt struct {
// contains filtered or unexported fields
}
ECDH1PUAEADCompositeEncrypt is an instance of ECDH-ES encryption with Concat KDF and AEAD content encryption.
func NewECDH1PUAEADCompositeEncrypt ¶
func NewECDH1PUAEADCompositeEncrypt(recipientsKeys []*composite.PublicKey, senderPrivKey *hybrid.ECPrivateKey, ptFormat string, encHelper composite.EncrypterHelper, keyType commonpb.KeyType) *ECDH1PUAEADCompositeEncrypt
NewECDH1PUAEADCompositeEncrypt returns ECDH-ES encryption construct with Concat KDF key wrapping and AEAD content encryption.
type ECDH1PUConcatKDFRecipientKW ¶
type ECDH1PUConcatKDFRecipientKW struct {
// contains filtered or unexported fields
}
ECDH1PUConcatKDFRecipientKW represents concat KDF based ECDH-1PU (One-Pass Unified Model) KW (key wrapping) for ECDH-1PU recipient's unwrapping of CEK.
type ECDH1PUConcatKDFSenderKW ¶
type ECDH1PUConcatKDFSenderKW struct {
// contains filtered or unexported fields
}
ECDH1PUConcatKDFSenderKW represents concat KDF based ECDH-1PU KW (key wrapping) for ECDH-1PU sender.