public class SubjectPublicKeyAlgorithmField extends AbstractTBSField<String>
The policy value of this extension is returned as a string containing the object identifier (OID) of the key algorithm of the subject's public key.
| Constructor and Description |
|---|
SubjectPublicKeyAlgorithmField()
Default contructor
|
| Modifier and Type | Method and Description |
|---|---|
TBSFieldName |
getFieldName()
Gets the TBS field name of the attribute extracted from the certificate.
|
void |
injectReferenceValue(X509Certificate value)
Injects the referenced value into the expressions.
|
getX509FieldType, toStringgetExpressionType, getPolicyExpressionReferenceType, getPolicyValue, isRequired, setRequiredequals, getClass, hashCode, notify, notifyAll, wait, wait, waitisRequired, setRequiredgetPolicyExpressionReferenceTypegetPolicyValuegetExpressionTypepublic SubjectPublicKeyAlgorithmField()
public TBSFieldName getFieldName()
public void injectReferenceValue(X509Certificate value) throws PolicyProcessException
LiteralPolicyExpression.getPolicyValue() method.value - The reference value.PolicyProcessException - Thrown if the reference value cannot be successfully processed or the relevant accessible attribute cannot be
retrieved from the value. For example, the X509 reference expressions may require an X509 attribute to be present in a certificate. If the required
certificate attribute is not present, the this exception would be thrown.Copyright © 2010-2016 The Direct Project. All Rights Reserved.