isTypeOneEnvelope function

bool isTypeOneEnvelope(
  1. CryptoEncodingValidation result
)

Implementation

bool isTypeOneEnvelope(CryptoEncodingValidation result) {
  return (result.type == TYPE_1 &&
      result.senderPublicKey != null &&
      result.receiverPublicKey != null);
}