private void checkConstruction(
ProcurationSyntax procuration,
string country,
DirectoryString typeOfSubstitution,
GeneralName thirdPerson,
IssuerSerial certRef)
{
checkValues(procuration, country, typeOfSubstitution, thirdPerson, certRef);
procuration = ProcurationSyntax.GetInstance(procuration);
checkValues(procuration, country, typeOfSubstitution, thirdPerson, certRef);
Asn1InputStream aIn = new Asn1InputStream(procuration.ToAsn1Object().GetEncoded());
Asn1Sequence seq = (Asn1Sequence) aIn.ReadObject();
procuration = ProcurationSyntax.GetInstance(seq);
checkValues(procuration, country, typeOfSubstitution, thirdPerson, certRef);
}