Interface MlsSigner

All Known Implementing Classes:
BcMlsSigner

public interface MlsSigner
  • Field Details

  • Method Details

    • generateSignatureKeyPair

      org.bouncycastle.crypto.AsymmetricCipherKeyPair generateSignatureKeyPair()
    • serializePublicKey

      byte[] serializePublicKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter key)
    • serializePrivateKey

      byte[] serializePrivateKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter key)
    • signWithLabel

      byte[] signWithLabel(byte[] priv, String label, byte[] content) throws IOException, org.bouncycastle.crypto.CryptoException
      Throws:
      IOException
      org.bouncycastle.crypto.CryptoException
    • verifyWithLabel

      boolean verifyWithLabel(byte[] pub, String label, byte[] content, byte[] signature) throws IOException
      Throws:
      IOException
    • deserializePrivateKey

      org.bouncycastle.crypto.AsymmetricCipherKeyPair deserializePrivateKey(byte[] priv)
    • deserializePublicKey

      org.bouncycastle.crypto.params.AsymmetricKeyParameter deserializePublicKey(byte[] pub)