Class KeyAgreeRecipientInfoGenerator

    • Constructor Detail

      • KeyAgreeRecipientInfoGenerator

        protected KeyAgreeRecipientInfoGenerator​(org.bouncycastle.asn1.ASN1ObjectIdentifier keyAgreementOID,
                                                 org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo,
                                                 org.bouncycastle.asn1.ASN1ObjectIdentifier keyEncryptionOID)
    • Method Detail

      • createOriginatorPublicKey

        protected org.bouncycastle.asn1.cms.OriginatorPublicKey createOriginatorPublicKey​(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo originatorKeyInfo)
      • generateRecipientEncryptedKeys

        protected abstract org.bouncycastle.asn1.ASN1Sequence generateRecipientEncryptedKeys​(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm,
                                                                                             org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncAlgorithm,
                                                                                             GenericKey contentEncryptionKey)
                                                                                      throws CMSException
        Throws:
        CMSException
      • getUserKeyingMaterial

        protected abstract byte[] getUserKeyingMaterial​(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAgreeAlgorithm)
                                                 throws CMSException
        Throws:
        CMSException