ISISMTTObjectIdentifiers.cs 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt
  4. {
  5. public abstract class IsisMttObjectIdentifiers
  6. {
  7. public static readonly DerObjectIdentifier IdIsisMtt = new DerObjectIdentifier("1.3.36.8");
  8. public static readonly DerObjectIdentifier IdIsisMttCP = new DerObjectIdentifier(IdIsisMtt + ".1");
  9. /**
  10. * The id-isismtt-cp-accredited OID indicates that the certificate is a
  11. * qualified certificate according to Directive 1999/93/EC of the European
  12. * Parliament and of the Council of 13 December 1999 on a Community
  13. * Framework for Electronic Signatures, which additionally conforms the
  14. * special requirements of the SigG and has been issued by an accredited CA.
  15. */
  16. public static readonly DerObjectIdentifier IdIsisMttCPAccredited = new DerObjectIdentifier(IdIsisMttCP + ".1");
  17. public static readonly DerObjectIdentifier IdIsisMttAT = new DerObjectIdentifier(IdIsisMtt + ".3");
  18. /**
  19. * Certificate extensionDate of certificate generation
  20. *
  21. * <pre>
  22. * DateOfCertGenSyntax ::= GeneralizedTime
  23. * </pre>
  24. */
  25. public static readonly DerObjectIdentifier IdIsisMttATDateOfCertGen = new DerObjectIdentifier(IdIsisMttAT + ".1");
  26. /**
  27. * Attribute to indicate that the certificate holder may sign in the name of
  28. * a third person. May also be used as extension in a certificate.
  29. */
  30. public static readonly DerObjectIdentifier IdIsisMttATProcuration = new DerObjectIdentifier(IdIsisMttAT + ".2");
  31. /**
  32. * Attribute to indicate admissions to certain professions. May be used as
  33. * attribute in attribute certificate or as extension in a certificate
  34. */
  35. public static readonly DerObjectIdentifier IdIsisMttATAdmission = new DerObjectIdentifier(IdIsisMttAT + ".3");
  36. /**
  37. * Monetary limit for transactions. The QcEuMonetaryLimit QC statement MUST
  38. * be used in new certificates in place of the extension/attribute
  39. * MonetaryLimit since January 1, 2004. For the sake of backward
  40. * compatibility with certificates already in use, SigG conforming
  41. * components MUST support MonetaryLimit (as well as QcEuLimitValue).
  42. */
  43. public static readonly DerObjectIdentifier IdIsisMttATMonetaryLimit = new DerObjectIdentifier(IdIsisMttAT + ".4");
  44. /**
  45. * A declaration of majority. May be used as attribute in attribute
  46. * certificate or as extension in a certificate
  47. */
  48. public static readonly DerObjectIdentifier IdIsisMttATDeclarationOfMajority = new DerObjectIdentifier(IdIsisMttAT + ".5");
  49. /**
  50. *
  51. * Serial number of the smart card containing the corresponding private key
  52. *
  53. * <pre>
  54. * ICCSNSyntax ::= OCTET STRING (SIZE(8..20))
  55. * </pre>
  56. */
  57. public static readonly DerObjectIdentifier IdIsisMttATIccsn = new DerObjectIdentifier(IdIsisMttAT + ".6");
  58. /**
  59. *
  60. * Reference for a file of a smartcard that stores the public key of this
  61. * certificate and that is used as �security anchor�.
  62. *
  63. * <pre>
  64. * PKReferenceSyntax ::= OCTET STRING (SIZE(20))
  65. * </pre>
  66. */
  67. public static readonly DerObjectIdentifier IdIsisMttATPKReference = new DerObjectIdentifier(IdIsisMttAT + ".7");
  68. /**
  69. * Some other restriction regarding the usage of this certificate. May be
  70. * used as attribute in attribute certificate or as extension in a
  71. * certificate.
  72. *
  73. * <pre>
  74. * RestrictionSyntax ::= DirectoryString (SIZE(1..1024))
  75. * </pre>
  76. *
  77. * @see BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction
  78. */
  79. public static readonly DerObjectIdentifier IdIsisMttATRestriction = new DerObjectIdentifier(IdIsisMttAT + ".8");
  80. /**
  81. *
  82. * (Single)Request extension: Clients may include this extension in a
  83. * (single) Request to request the responder to send the certificate in the
  84. * response message along with the status information. Besides the LDAP
  85. * service, this extension provides another mechanism for the distribution
  86. * of certificates, which MAY optionally be provided by certificate
  87. * repositories.
  88. *
  89. * <pre>
  90. * RetrieveIfAllowed ::= BOOLEAN
  91. * </pre>
  92. */
  93. public static readonly DerObjectIdentifier IdIsisMttATRetrieveIfAllowed = new DerObjectIdentifier(IdIsisMttAT + ".9");
  94. /**
  95. * SingleOCSPResponse extension: The certificate requested by the client by
  96. * inserting the RetrieveIfAllowed extension in the request, will be
  97. * returned in this extension.
  98. *
  99. * @see BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate
  100. */
  101. public static readonly DerObjectIdentifier IdIsisMttATRequestedCertificate = new DerObjectIdentifier(IdIsisMttAT + ".10");
  102. /**
  103. * Base ObjectIdentifier for naming authorities
  104. */
  105. public static readonly DerObjectIdentifier IdIsisMttATNamingAuthorities = new DerObjectIdentifier(IdIsisMttAT + ".11");
  106. /**
  107. * SingleOCSPResponse extension: Date, when certificate has been published
  108. * in the directory and status information has become available. Currently,
  109. * accrediting authorities enforce that SigG-conforming OCSP servers include
  110. * this extension in the responses.
  111. *
  112. * <pre>
  113. * CertInDirSince ::= GeneralizedTime
  114. * </pre>
  115. */
  116. public static readonly DerObjectIdentifier IdIsisMttATCertInDirSince = new DerObjectIdentifier(IdIsisMttAT + ".12");
  117. /**
  118. * Hash of a certificate in OCSP.
  119. *
  120. * @see BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash
  121. */
  122. public static readonly DerObjectIdentifier IdIsisMttATCertHash = new DerObjectIdentifier(IdIsisMttAT + ".13");
  123. /**
  124. * <pre>
  125. * NameAtBirth ::= DirectoryString(SIZE(1..64)
  126. * </pre>
  127. *
  128. * Used in
  129. * {@link BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectDirectoryAttributes SubjectDirectoryAttributes}
  130. */
  131. public static readonly DerObjectIdentifier IdIsisMttATNameAtBirth = new DerObjectIdentifier(IdIsisMttAT + ".14");
  132. /**
  133. * Some other information of non-restrictive nature regarding the usage of
  134. * this certificate. May be used as attribute in atribute certificate or as
  135. * extension in a certificate.
  136. *
  137. * <pre>
  138. * AdditionalInformationSyntax ::= DirectoryString (SIZE(1..2048))
  139. * </pre>
  140. *
  141. * @see BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax
  142. */
  143. public static readonly DerObjectIdentifier IdIsisMttATAdditionalInformation = new DerObjectIdentifier(IdIsisMttAT + ".15");
  144. /**
  145. * Indicates that an attribute certificate exists, which limits the
  146. * usability of this public key certificate. Whenever verifying a signature
  147. * with the help of this certificate, the content of the corresponding
  148. * attribute certificate should be concerned. This extension MUST be
  149. * included in a PKC, if a corresponding attribute certificate (having the
  150. * PKC as base certificate) contains some attribute that restricts the
  151. * usability of the PKC too. Attribute certificates with restricting content
  152. * MUST always be included in the signed document.
  153. *
  154. * <pre>
  155. * LiabilityLimitationFlagSyntax ::= BOOLEAN
  156. * </pre>
  157. */
  158. public static readonly DerObjectIdentifier IdIsisMttATLiabilityLimitationFlag = new DerObjectIdentifier("0.2.262.1.10.12.0");
  159. }
  160. }
  161. #pragma warning restore
  162. #endif