예제 #1
0
        /// <summary>
        /// Add the specified list of encoded attribute certificates to the validate request.
        /// </summary>
        /// <param name="validateRequest"></param>
        /// <param name="attributeCertificates"></param>
        private void addAttributeCertificates(ValidateRequestType validateRequest, EncapsulatedPKIDataType[] attributeCertificates)
        {
            AttributeCertificateMessageExtensionType attributeCertificateMessageExtension =
                new AttributeCertificateMessageExtensionType();

            attributeCertificateMessageExtension.CertifiedRoles = attributeCertificates;
            validateRequest.MessageExtension = new MessageExtensionAbstractType[] { attributeCertificateMessageExtension };
        }
 /// <summary>
 /// Add the specified list of encoded attribute certificates to the validate request.
 /// </summary>
 /// <param name="validateRequest"></param>
 /// <param name="attributeCertificates"></param>
 private void addAttributeCertificates(ValidateRequestType validateRequest, EncapsulatedPKIDataType[] attributeCertificates)
 {
     AttributeCertificateMessageExtensionType attributeCertificateMessageExtension =
         new AttributeCertificateMessageExtensionType();
     attributeCertificateMessageExtension.CertifiedRoles = attributeCertificates;
     validateRequest.MessageExtension = new MessageExtensionAbstractType[] { attributeCertificateMessageExtension };
 }