public class TimeStampToken extends Object implements UnsignedAttribute
| Constructor and Description |
|---|
TimeStampToken() |
| Modifier and Type | Method and Description |
|---|---|
String |
getOID()
OID value of the attribute.
|
org.bouncycastle.asn1.cms.Attribute |
getValue()
Represents the value of the attribute itself.
|
void |
initialize(PrivateKey privateKey,
Certificate[] certificates,
byte[] content,
SignaturePolicy signaturePolicy,
byte[] hash)
Performs the initial parameterization for attribute retrieval
|
public String getOID()
SignedOrUnsignedAttributegetOID in interface SignedOrUnsignedAttributepublic void initialize(PrivateKey privateKey, Certificate[] certificates, byte[] content, SignaturePolicy signaturePolicy, byte[] hash)
SignedOrUnsignedAttributeinitialize in interface SignedOrUnsignedAttributeprivateKey - private keycertificates - certificate chaincontent - set null if signing only hashsignaturePolicy - signature policyhash - set null if signing contentpublic org.bouncycastle.asn1.cms.Attribute getValue()
throws SignerException
SignedOrUnsignedAttributegetValue in interface SignedOrUnsignedAttributeSignerExceptionCopyright © 2021 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.