public class SubjectPublicKeySizeField extends AbstractTBSField<Integer>
The policy value of this extension is returned as an integer containing size in bit of the public key.
| Constructor and Description |
|---|
SubjectPublicKeySizeField()
Default constructor
|
| 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 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–2020 The Direct Project. All rights reserved.