Certificate ApplyGetOptions(Certificate cert, CertificateGetOptions options) { if (options == null) { options = CertificateGetOptions.Default; } return(options.ApplyTo(cert)); }
Anchor ApplyGetOptions(Anchor anchor, CertificateGetOptions options) { if (options == null) { options = CertificateGetOptions.Default; } return(options.ApplyTo(anchor)); }
public Certificate[] GetCertificates(long[] certificateIDs, CertificateGetOptions options) { try { return(this.ApplyGetOptions(Store.Certificates.Get(certificateIDs), options)); } catch (Exception ex) { throw CreateFault("GetCertificates", ex); } }
public Certificate GetCertificate(string owner, string thumbprint, CertificateGetOptions options) { try { return(this.ApplyGetOptions(Store.Certificates.Get(owner, thumbprint), options)); } catch (Exception ex) { throw CreateFault("GetCertificate", ex); } }
public Anchor[] GetAnchors(long[] anchorIDs, CertificateGetOptions options) { try { return(this.ApplyGetOptions(Store.Anchors.Get(anchorIDs), options)); } catch (Exception ex) { throw CreateFault("GetAnchors", ex); } }
public Certificate GetCertificate(string owner, string thumbprint, CertificateGetOptions options) { try { return this.ApplyGetOptions(Store.Certificates.Get(owner, thumbprint), options); } catch (Exception ex) { throw CreateFault("GetCertificate", ex); } }
public Anchor[] EnumerateAnchors(long lastAnchorID, int maxResults, CertificateGetOptions options) { try { return(this.ApplyGetOptions(Store.Anchors.Get(lastAnchorID, maxResults), options)); } catch (Exception ex) { throw CreateFault("EnumerateAnchors", ex); } }
public Anchor[] GetAnchorsForOwner(string owner, CertificateGetOptions options) { try { return(this.ApplyGetOptions(Store.Anchors.Get(owner), options)); } catch (Exception ex) { throw CreateFault("GetAnchorsForOwner", ex); } }
public Certificate[] GetCertificates(long[] certificateIDs, CertificateGetOptions options) { try { return this.ApplyGetOptions(Store.Certificates.Get(certificateIDs), options); } catch (Exception ex) { throw CreateFault("GetCertificates", ex); } }
public Anchor[] GetOutgoingAnchors(string owner, CertificateGetOptions options) { try { options = options ?? CertificateGetOptions.Default; return(this.ApplyGetOptions(Store.Anchors.GetOutgoing(owner, options.Status), options)); } catch (Exception ex) { throw CreateFault("GetOutgoingAnchors", ex); } }
public Certificate[] GetCertificatesForOwner(string owner, CertificateGetOptions options) { try { options = options ?? CertificateGetOptions.Default; return this.ApplyGetOptions(Store.Certificates.Get(owner, options.Status), options); } catch (Exception ex) { throw CreateFault("GetCertificatesForOwner", ex); } }
public Certificate[] GetCertificatesForOwner(string owner, CertificateGetOptions options) { try { options = options ?? CertificateGetOptions.Default; return(this.ApplyGetOptions(Store.Certificates.Get(owner, options.Status), options)); } catch (Exception ex) { throw CreateFault("GetCertificatesForOwner", ex); } }
Anchor[] ApplyGetOptions(Anchor[] anchors, CertificateGetOptions options) { if (anchors == null) { return(null); } return((from anchor in (from anchor in anchors select ApplyGetOptions(anchor, options) ) where anchor != null select anchor).ToArray()); }
Certificate[] ApplyGetOptions(Certificate[] certs, CertificateGetOptions options) { if (certs == null) { return(null); } return((from cert in (from cert in certs where cert != null select ApplyGetOptions(cert, options) ) where cert != null select cert).ToArray()); }
public Anchor[] GetAnchors(long[] anchorIDs, CertificateGetOptions options) { try { return this.ApplyGetOptions(Store.Anchors.Get(anchorIDs), options); } catch(Exception ex) { throw CreateFault("GetAnchors", ex); } }
Anchor ApplyGetOptions(Anchor anchor, CertificateGetOptions options) { if (options == null) { options = CertificateGetOptions.Default; } return options.ApplyTo(anchor); }
Anchor[] ApplyGetOptions(Anchor[] anchors, CertificateGetOptions options) { if (anchors == null) { return null; } return (from anchor in (from anchor in anchors select ApplyGetOptions(anchor, options) ) where anchor != null select anchor).ToArray(); }
Certificate ApplyGetOptions(Certificate cert, CertificateGetOptions options) { if (options == null) { options = CertificateGetOptions.Default; } return options.ApplyTo(cert); }
Certificate[] ApplyGetOptions(Certificate[] certs, CertificateGetOptions options) { if (certs == null) { return null; } return (from cert in (from cert in certs where cert != null select ApplyGetOptions(cert, options) ) where cert != null select cert).ToArray(); }
public Anchor[] EnumerateAnchors(long lastAnchorID, int maxResults, CertificateGetOptions options) { try { return this.ApplyGetOptions(Store.Anchors.Get(lastAnchorID, maxResults), options); } catch (Exception ex) { throw CreateFault("EnumerateAnchors", ex); } }
public Anchor[] GetOutgoingAnchors(string owner, CertificateGetOptions options) { try { options = options ?? CertificateGetOptions.Default; return this.ApplyGetOptions(Store.Anchors.GetOutgoing(owner, options.Status), options); } catch (Exception ex) { throw CreateFault("GetOutgoingAnchors", ex); } }
public Anchor[] GetAnchorsForOwner(string owner, CertificateGetOptions options) { try { return this.ApplyGetOptions(Store.Anchors.Get(owner), options); } catch (Exception ex) { throw CreateFault("GetAnchorsForOwner", ex); } }
public Certificate[] EnumerateCertificates(long lastCertificateID, int maxResults, CertificateGetOptions options) { try { IEnumerable<Certificate> certs = Store.Certificates.Get(lastCertificateID, maxResults); return this.ApplyGetOptions(certs.ToArray(), options); } catch (Exception ex) { throw CreateFault("EnumerateCertificates", ex); } }
public Certificate[] EnumerateCertificates(long lastCertificateID, int maxResults, CertificateGetOptions options) { try { IEnumerable <Certificate> certs = Store.Certificates.Get(lastCertificateID, maxResults); return(this.ApplyGetOptions(certs.ToArray(), options)); } catch (Exception ex) { throw CreateFault("EnumerateCertificates", ex); } }