internal override byte[] Sign(
     byte[] content,
     CoseSigner signer,
     CoseHeaderMap?protectedHeaders   = null,
     CoseHeaderMap?unprotectedHeaders = null,
     byte[]?associatedData            = null,
     bool isDetached = false)
 {
     return(isDetached ?
            CoseMultiSignMessage.SignDetached(content, signer, protectedHeaders, unprotectedHeaders, associatedData) :
            CoseMultiSignMessage.SignEmbedded(content, signer, protectedHeaders, unprotectedHeaders, associatedData));
 }
 private byte[] SignFixed(byte[] content, CoseSigner signer, CoseHeaderMap?protectedHeaders, CoseHeaderMap?unprotectedHeaders, byte[]?associatedData, bool isDetached)
 => isDetached?
 CoseMultiSignMessage.SignDetached(content, signer, protectedHeaders, unprotectedHeaders, associatedData) :
     CoseMultiSignMessage.SignEmbedded(content, signer, protectedHeaders, unprotectedHeaders, associatedData);
 internal override byte[] Sign(byte[] content, CoseSigner signer)
 => CoseMultiSignMessage.SignEmbedded(content, signer);