Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodiGeneralSubtree.Applies

function Applies(aName : iName; aAltName: iGeneralNames; out aMissing: Boolean) : Boolean;
Tests whether the name being validated falls within this subtree. Given the certificate subject (aName) and its SubjectAltName list (aAltName), returns True when a name of the same GeneralName kind as base matches the subtree, applying the RFC 5280 host/domain and email matching rules. aMissing is set True when the certificate carries no name of base's kind, so the caller can treat the subtree as not applicable. Used internally by iNameConstraints.Verify.