aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-25 16:17:40 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-25 20:19:17 -0600
commit49bb7565120b181752dc2574cd0e3660393c707c (patch)
tree719427d25f47ae295dd44f6707d83cc8333b859d /docs
parent4f76921ad87d71067158625aa0afedbba8ae1314 (diff)
downloadcryptography-49bb7565120b181752dc2574cd0e3660393c707c.tar.gz
cryptography-49bb7565120b181752dc2574cd0e3660393c707c.tar.bz2
cryptography-49bb7565120b181752dc2574cd0e3660393c707c.zip
start switching the CRL entry extensions to be full-fledged classes
first up: CertificateIssuer
Diffstat (limited to 'docs')
-rw-r--r--docs/x509/reference.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index ea22ab0b..1f25ac14 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1956,6 +1956,40 @@ These classes may be present within a :class:`CertificatePolicies` instance.
A list of integers.
+CRL Entry Extensions
+~~~~~~~~~~~~~~~~~~~~
+
+These extensions are only valid within a :class:`RevokedCertificate` object.
+
+.. class:: CertificateIssuer(general_names)
+
+ .. versionadded:: 1.2
+
+ The certificate issuer is an extension that is only valid inside
+ :class:`~cryptography.x509.RevokedCertificate` objects. If the
+ ``indirectCRL`` property of the parent CRL's IssuingDistributionPoint
+ extension is set, then this extension identifies the certificate issuer
+ associated with the revoked certificate. The object is iterable to get
+ every element.
+
+ :param list general_names: A list of :class:`GeneralName` instances.
+
+ .. attribute:: oid
+
+ :type: :class:`ObjectIdentifier`
+
+ Returns
+ :attr:`~cryptography.x509.oid.CRLEntryExtensionOID.CERTIFICATE_ISSUER`.
+
+ .. method:: get_values_for_type(type)
+
+ :param type: A :class:`GeneralName` instance. This is one of the
+ :ref:`general name classes <general_name_classes>`.
+
+ :returns: A list of values extracted from the matched general names.
+ The type of the returned values depends on the :class:`GeneralName`.
+
+
Object Identifiers
~~~~~~~~~~~~~~~~~~
04'>204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369