| Modifier and Type | Field and Description |
|---|---|
| private final COSDictionary | |
| public static final int | FLAG_ISSUER
A Ff flag. |
| public static final int | FLAG_KEY_USAGE
A Ff flag. |
| public static final int | FLAG_OID
A Ff flag. |
| public static final int | FLAG_SUBJECT
A Ff flag. |
| public static final int | FLAG_SUBJECT_DN
A Ff flag. |
| public static final int | FLAG_URL
A Ff flag. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addIssuer(byte[]
A byte array containing DER-encoded X.509v3 certificate issuer)array of bytes containing DER-encoded X.509v3 certificates of acceptable issuers. |
| public void | addKeyUsage(String
String that consist only of {0, 1, X} keyUsageExtension)(Optional; PDF 1.7) specifies an acceptable key-usage extension that must be presennt in the
signing certificate for works like |
| public void | addKeyUsage(char
char that is one of {0, 1, X} digitalSignature, char char that is one of {0, 1, X} nonRepudiation, char char that is one of {0, 1, X} keyEncipherment, char char that is one of {0, 1, X} dataEncipherment, char char that is one of {0, 1, X} keyAgreement, char char that is one of {0, 1, X} keyCertSign, char char that is one of {0, 1, X} cRLSign, char char that is one of {0, 1, X} encipherOnly, char char that is one of {0, 1, X} decipherOnly)works like |
| public void | addOID(byte[]
Object Identifier of a certificate policy to be added oid)works like |
| public void | addSubject(byte[]
byte array containing DER-encoded X.509v3 certificate subject)(Optional) byte array containing DER-encoded X.509v3 certificate that is acceptable for signing. |
| private static COSArray | |
| public COSDictionary | Returns: The COS dictionary that matches this Java object.Implements org. Convert this standard java object to a COS dictionary. |
| public List | Returns: list of array of bytes of DER-encoded X.509v3 certificatesReturns list of array of bytes of DER-encoded X.509v3 certificates |
| public List | Returns: list of key usages of certificate stringsReturns list of key usages of certificate strings where each string is 9 characters long and each character is one of these values {0, 1, X} 0 for must not set, 1 for must set, X for don't care. |
| private static List | |
| public List | Returns: list of array of bytes that contain Object Identifiers of the certificate policiesReturns A list of array of bytes that contain Object Identifiers (OIDs) of the certificate policies that must be present in the signing certificate |
| public List | Returns: list of byte arrays containing DER-encoded X.509v3 certificatesReturns list of byte arrays that contains DER-encoded X.509v3 certificates |
| public List | Returns: list maps that contains subject distinguished namesReturns list of maps that contains subject distinguished names like [(cn: John Doe, o: Doe), (cn: John Smith)] both keys are typically of the form 'cn', 'o', 'email', '2.5.4.43'; and values are text strings. |
| public String | |
| public String | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | removeIssuer(byte[]
A byte array containing DER-encoded X.509v3 certificate issuer)Removes an issuer from the issuers list |
| public void | removeKeyUsage(String
ASCII string that consists of {0, 1, X} keyUsageExtension)Removes a key usage extension |
| public void | removeOID(byte[]
Object Identifier of the certificate policy to be removed oid)removes an OID from the list |
| public void | removeSubject(byte[]
byte array containing DER-encoded X.509v3 certificate subject)removes a subject from the list |
| public void | |
| public void | setIssuerRequired(boolean
if true, the specified Issuer shall be enforced as a constraint. flag)set true if Issuer shall be required as a constraint on signature. |
| public void | setKeyUsage(List<String>
list of ASCII strings that consists only of {0, 1, X} keyUsageExtensions)(Optional; PDF 1.7) A List of ASCII strings, where each string specifies an acceptable key-usage extension that must be present in the signing certificate. |
| public void | setKeyUsageRequired(boolean
if true, the specified KeyUsage shall be enforced as a constraint. flag)set true if KeyUsage shall be required as a constraint on signature. |
| public void | |
| public void | setOIDRequired(boolean
if true, the specified OID shall be enforced as a constraint. flag)set true if OID shall be required as a constraint on signature. |
| public void | setSubject(List<byte[]>
list of byte arrays containing DER-encoded X.509v3 certificates that are
acceptable for signing. subjects)(Optional) A list of byte arrays containing DER-encoded X.509v3 certificates that are acceptable for signing. |
| public void | setSubjectDN(List<Map<String, String>>
list of maps that contains subject distinguished names subjectDN)(Optional; PDF 1.7) A list of maps, where each map contains key value pairs, that specify the Subject Distinguished Name (DN) that must be present within the certificate for it to be acceptable for signing. |
| public void | setSubjectDNRequired(boolean
if true, the specified Subject DN shall be enforced as a constraint. flag)set true if subject DN shall be required as a constraint on signature. |
| public void | setSubjectRequired(boolean
if true, the specified Subject shall be enforced as a constraint. flag)set true if subject shall be required as a constraint on signature. |
| public void | |
| public void | setURLRequired(boolean
if true, the specified URL shall be enforced as a constraint. flag)set true if URL shall be required as a constraint on signature. |
| public void | setURLType(String
String of the urlType urlType)(Optional; PDF 1.7) A name indicating the usage of the URL entry. |
| dictionary | back to summary |
|---|---|
| private final COSDictionary dictionary | |
| FLAG_ISSUER | back to summary |
|---|---|
| public static final int FLAG_ISSUER A Ff flag. | |
| FLAG_KEY_USAGE | back to summary |
|---|---|
| public static final int FLAG_KEY_USAGE A Ff flag. | |
| FLAG_OID | back to summary |
|---|---|
| public static final int FLAG_OID A Ff flag. | |
| FLAG_SUBJECT | back to summary |
|---|---|
| public static final int FLAG_SUBJECT A Ff flag. | |
| FLAG_SUBJECT_DN | back to summary |
|---|---|
| public static final int FLAG_SUBJECT_DN A Ff flag. | |
| FLAG_URL | back to summary |
|---|---|
| public static final int FLAG_URL A Ff flag. | |
| PDSeedValueCertificate | back to summary |
|---|---|
| public PDSeedValueCertificate() Default constructor. | |
| PDSeedValueCertificate | back to summary |
|---|---|
| public PDSeedValueCertificate(COSDictionary dict) Constructor.
| |
| addIssuer | back to summary |
|---|---|
| public void addIssuer(byte[] issuer) array of bytes containing DER-encoded X.509v3 certificates of acceptable issuers. If the signer’s certificate chains up to any of the specified issuers (either directly or indirectly), the certificate is considered acceptable for signing.
| |
| addKeyUsage | back to summary |
|---|---|
| public void addKeyUsage(String keyUsageExtension) (Optional; PDF 1.7) specifies an acceptable key-usage extension that must be presennt in the
signing certificate for works like
| |
| addKeyUsage | back to summary |
|---|---|
| public void addKeyUsage(char digitalSignature, char nonRepudiation, char keyEncipherment, char dataEncipherment, char keyAgreement, char keyCertSign, char cRLSign, char encipherOnly, char decipherOnly) works like
| |
| addOID | back to summary |
|---|---|
| public void addOID(byte[] oid) works like
| |
| addSubject | back to summary |
|---|---|
| public void addSubject(byte[] subject) (Optional) byte array containing DER-encoded X.509v3 certificate that is acceptable for
signing. works like
| |
| convertListOfByteArraysToCOSArray | back to summary |
|---|---|
| private static COSArray convertListOfByteArraysToCOSArray(List<byte[]> strings) | |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. Convert this standard java object to a COS dictionary.
| |
| getIssuer | back to summary |
|---|---|
| public List Returns list of array of bytes of DER-encoded X.509v3 certificates
| |
| getKeyUsage | back to summary |
|---|---|
| public List Returns list of key usages of certificate strings where each string is 9 characters long and each character is one of these values {0, 1, X} 0 for must not set, 1 for must set, X for don't care. each index in the string represents a key usage:
| |
| getListOfByteArraysFromCOSArray | back to summary |
|---|---|
| private static List | |
| getOID | back to summary |
|---|---|
| public List Returns A list of array of bytes that contain Object Identifiers (OIDs) of the certificate policies that must be present in the signing certificate
| |
| getSubject | back to summary |
|---|---|
| public List Returns list of byte arrays that contains DER-encoded X.509v3 certificates
| |
| getSubjectDN | back to summary |
|---|---|
| public List Returns list of maps that contains subject distinguished names like [(cn: John Doe, o: Doe), (cn: John Smith)] both keys are typically of the form 'cn', 'o', 'email', '2.5.4.43'; and values are text strings. | |
| getURL | back to summary |
|---|---|
| public String getURL() returns String of the URL
| |
| getURLType | back to summary |
|---|---|
| public String getURLType() A name indicating the usage of the URL entry. There are standard uses and there can be implementation-specific use for this URL. The following value specifies a valid standard usage:
| |
| isIssuerRequired | back to summary |
|---|---|
public boolean isIssuerRequired()
| |
| isKeyUsageRequired | back to summary |
|---|---|
public boolean isKeyUsageRequired()
| |
| isOIDRequired | back to summary |
|---|---|
public boolean isOIDRequired()
| |
| isSubjectDNRequired | back to summary |
|---|---|
public boolean isSubjectDNRequired()
| |
| isSubjectRequired | back to summary |
|---|---|
public boolean isSubjectRequired()
| |
| isURLRequired | back to summary |
|---|---|
public boolean isURLRequired()
| |
| removeIssuer | back to summary |
|---|---|
| public void removeIssuer(byte[] issuer) Removes an issuer from the issuers list
| |
| removeKeyUsage | back to summary |
|---|---|
| public void removeKeyUsage(String keyUsageExtension) Removes a key usage extension
| |
| removeOID | back to summary |
|---|---|
| public void removeOID(byte[] oid) removes an OID from the list
| |
| removeSubject | back to summary |
|---|---|
| public void removeSubject(byte[] subject) removes a subject from the list
| |
| setIssuer | back to summary |
|---|---|
| public void setIssuer(List<byte[]> issuers) (Optional) A list of array of bytes containing DER-encoded X.509v3 certificates of acceptable issuers. If the signer’s certificate chains up to any of the specified issuers (either directly or indirectly), the certificate is considered acceptable for signing.
| |
| setIssuerRequired | back to summary |
|---|---|
| public void setIssuerRequired(boolean flag) set true if Issuer shall be required as a constraint on signature.
| |
| setKeyUsage | back to summary |
|---|---|
| public void setKeyUsage(List<String> keyUsageExtensions) (Optional; PDF 1.7) A List of ASCII strings, where each string specifies an acceptable key-usage extension that must be present in the signing certificate. Multiple strings specify a range of acceptable key-usage extensions; where each string 9 characters long and each character is one of these values {0, 1, X} 0 for must not set, 1 for must set, X for don't care. each index in the string represents a key usage:
| |
| setKeyUsageRequired | back to summary |
|---|---|
| public void setKeyUsageRequired(boolean flag) set true if KeyUsage shall be required as a constraint on signature.
| |
| setOID | back to summary |
|---|---|
| public void setOID(List<byte[]> oidByteStrings) (Optional) A list of byte arrays that contain Object Identifiers (OIDs) of the certificate policies that must be present in the signing certificate. This field is only applicable if the value of Issuer is not empty.
| |
| setOIDRequired | back to summary |
|---|---|
| public void setOIDRequired(boolean flag) set true if OID shall be required as a constraint on signature.
| |
| setSubject | back to summary |
|---|---|
| public void setSubject(List<byte[]> subjects) (Optional) A list of byte arrays containing DER-encoded X.509v3 certificates that are
acceptable for signing. if
Subject is not null and
| |
| setSubjectDN | back to summary |
|---|---|
| public void setSubjectDN(List<Map<String, String>> subjectDN) (Optional; PDF 1.7) A list of maps, where each map contains key value pairs, that specify the Subject Distinguished Name (DN) that must be present within the certificate for it to be acceptable for signing. The certificate must at a minimum contain all the attributes specified in one of the maps entered. | |
| setSubjectDNRequired | back to summary |
|---|---|
| public void setSubjectDNRequired(boolean flag) set true if subject DN shall be required as a constraint on signature.
| |
| setSubjectRequired | back to summary |
|---|---|
| public void setSubjectRequired(boolean flag) set true if subject shall be required as a constraint on signature.
| |
| setURL | back to summary |
|---|---|
| public void setURL(String url) (Optional) A URL, the use for which is defined by the URLType entry.
| |
| setURLRequired | back to summary |
|---|---|
| public void setURLRequired(boolean flag) set true if URL shall be required as a constraint on signature.
| |
| setURLType | back to summary |
|---|---|
| public void setURLType(String urlType) (Optional; PDF 1.7) A name indicating the usage of the URL entry. There are standard uses and there can be implementation-specific uses for this URL. The following value specifies a valid standard usage:
| |