APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.x509

public Class OCSPNoCheckExtension

extends Extension
Class Inheritance
Imports
java.io.IOException

Represent the OCSP NoCheck Extension from RFC2560.

A CA may specify that an OCSP client can trust a responder for the lifetime of the responder's certificate. The CA does so by including the extension id-pkix-ocsp-nocheck. This SHOULD be a non-critical extension. The value of the extension should be NULL. CAs issuing such a certificate should realize that a compromise of the responder's key is as serious as the compromise of a CA key used to sign CRLs, at least for the validity period of this certificate. CA's may choose to issue this type of certificate with a very short lifetime and renew it frequently.

id-pkix-ocsp-nocheck OBJECT IDENTIFIER ::= { id-pkix-ocsp 5 }
Author
Xuelei Fan
See Also
Extension

Field Summary

Modifier and TypeField and Description
public static final String
Inherited from sun.security.x509.Extension:
criticalextensionIdextensionValue

Constructor Summary

AccessConstructor and Description
public
OCSPNoCheckExtension()

Create a OCSPNoCheckExtension

public
OCSPNoCheckExtension(Boolean
true if the extension is to be treated as critical.
critical
,
Object
an array of DER encoded bytes of the actual value.
value
)

Create the extension from the passed DER encoded value.

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Overrides sun.security.x509.Extension.getName.

Return the name of this extension.

Inherited from sun.security.x509.Extension:
encodeencodeequalsgetExtensionIdgetExtensionValuegetIdgetValuehashCodeisCriticalnewExtensiontoString

Field Detail

NAMEback to summary
public static final String NAME

Constructor Detail

OCSPNoCheckExtensionback to summary
public OCSPNoCheckExtension() throws IOException

Create a OCSPNoCheckExtension

OCSPNoCheckExtensionback to summary
public OCSPNoCheckExtension(Boolean critical, Object value) throws IOException

Create the extension from the passed DER encoded value.

Parameters
critical:Boolean

true if the extension is to be treated as critical.

value:Object

an array of DER encoded bytes of the actual value.

Exceptions
IOException:
on error.

Method Detail

getNameback to summary
public String getName()

Overrides sun.security.x509.Extension.getName.

Return the name of this extension.

Annotations
@Override