java.lang.Object | ||
↳ | sun.security.x509.Extension | |
↳ | sun.security.x509.PolicyMappingsExtension |
Represent the Policy Mappings Extension. This extension, if present, identifies the certificate policies considered identical between the issuing and the subject CA.
Extensions are addiitonal attributes which can be inserted in a X509 v3 certificate. For example a "Driving License Certificate" could have the driving license number as a extension.
Extensions are represented as a sequence of the extension identifier (Object Identifier), a boolean flag stating whether the extension is to be treated as being critical and the extension value itself (this is again a DER encoding of the extension value).
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | IDENT | Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type. | |||||||||
String | MAP | ||||||||||
String | NAME | Attribute names. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a PolicyMappings with the List of CertificatePolicyMap.
| |||||||||||
Create a default PolicyMappingsExtension.
| |||||||||||
Create the extension from the passed DER encoded value.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Delete the attribute value.
| |||||||||||
Write the extension to the OutputStream.
| |||||||||||
Get the attribute value.
| |||||||||||
Return an enumeration of names of attributes existing within this
attribute.
| |||||||||||
Return the name of this attribute.
| |||||||||||
Set the attribute value.
| |||||||||||
Returns a printable representation of the policy map.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Identifier for this attribute, to be used with the get, set, delete methods of Certificate, x509 type.
Create a PolicyMappings with the List of CertificatePolicyMap.
IOException |
---|
Create a default PolicyMappingsExtension.
Create the extension from the passed DER encoded value.
ClassCastException | if value is not an array of bytes |
---|---|
IOException | on error. |
Write the extension to the OutputStream.
out | the OutputStream to write the extension to. |
---|
IOException | on encoding errors. |
---|
Return an enumeration of names of attributes existing within this attribute.
Set the attribute value.
name | the name of the attribute (e.g. "x509.info.key") |
---|---|
obj | the attribute object. |
IOException |
---|
Returns a printable representation of the policy map.