Package org.conscrypt

Class HpkeImpl.HpkeX25519Impl

    • Constructor Detail

      • HpkeX25519Impl

        private HpkeX25519Impl​(HpkeSuite hpkeSuite)
    • Method Detail

      • getRecipientPublicKeyBytes

        byte[] getRecipientPublicKeyBytes​(java.security.PublicKey recipientKey)
                                   throws java.security.InvalidKeyException
        Specified by:
        getRecipientPublicKeyBytes in class HpkeImpl
        Throws:
        java.security.InvalidKeyException
      • getPrivateRecipientKeyBytes

        byte[] getPrivateRecipientKeyBytes​(java.security.PrivateKey recipientKey)
                                    throws java.security.InvalidKeyException
        Specified by:
        getPrivateRecipientKeyBytes in class HpkeImpl
        Throws:
        java.security.InvalidKeyException