| Modifier and Type | Field and Description |
|---|---|
| private static Set | |
| private Extensions | |
| private TimeStampReq |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TimeStampRequest(byte[]
byte array containing the request. req)Create a TimeStampRequest from the past in byte array. |
| public | TimeStampRequest(InputStream
input stream containing the request. in)Create a TimeStampRequest from the past in input stream. |
| Modifier and Type | Method and Description |
|---|---|
| private Set | |
| public boolean | |
| public Set | Returns: a set of ASN1ObjectIdentifiers.Returns a set of ASN1ObjectIdentifiers giving the critical extensions. |
| public byte[] | Returns: the default ASN,1 byte encoding for the object.return the ASN.1 encoded representation of this object. |
| public Extension | |
| public List | |
| pack-priv Extensions | |
| public AlgorithmIdentifier | |
| public ASN1ObjectIdentifier | |
| public byte[] | |
| public BigInteger | |
| public Set | Returns: a set of ASN1ObjectIdentifiers.Returns a set of ASN1ObjectIdentifiers giving the non-critical extensions. |
| public ASN1ObjectIdentifier | |
| public int | |
| public boolean | |
| private static TimeStampReq | |
| public void | validate(Set<E>
a set of OIDs giving accepted algorithms. algorithms, Set<E> if non-null a set of policies OIDs we are willing to sign under. policies, Set<E> if non-null a set of extensions OIDs we are willing to accept. extensions)Validate the timestamp request, checking the digest to see if it is of an accepted type and whether it is of the correct length for the algorithm specified. |
| EMPTY_SET | back to summary |
|---|---|
| private static Set<E> EMPTY_SET | |
| extensions | back to summary |
|---|---|
| private Extensions extensions | |
| req | back to summary |
|---|---|
| private TimeStampReq req | |
| TimeStampRequest | back to summary |
|---|---|
| public TimeStampRequest(TimeStampReq req) | |
| TimeStampRequest | back to summary |
|---|---|
| public TimeStampRequest(byte[] req) throws IOException Create a TimeStampRequest from the past in byte array.
| |
| TimeStampRequest | back to summary |
|---|---|
| public TimeStampRequest(InputStream in) throws IOException Create a TimeStampRequest from the past in input stream.
| |
| convert | back to summary |
|---|---|
| private Set | |
| getCertReq | back to summary |
|---|---|
| public boolean getCertReq() | |
| getCriticalExtensionOIDs | back to summary |
|---|---|
| public Set Returns a set of ASN1ObjectIdentifiers giving the critical extensions.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException return the ASN.1 encoded representation of this object.
| |
| getExtension | back to summary |
|---|---|
| public Extension getExtension(ASN1ObjectIdentifier oid) | |
| getExtensionOIDs | back to summary |
|---|---|
| public List | |
| getExtensions | back to summary |
|---|---|
| pack-priv Extensions getExtensions() | |
| getMessageImprintAlgID | back to summary |
|---|---|
| public AlgorithmIdentifier getMessageImprintAlgID() | |
| getMessageImprintAlgOID | back to summary |
|---|---|
| public ASN1ObjectIdentifier getMessageImprintAlgOID() | |
| getMessageImprintDigest | back to summary |
|---|---|
| public byte[] getMessageImprintDigest() | |
| getNonce | back to summary |
|---|---|
| public BigInteger getNonce() | |
| getNonCriticalExtensionOIDs | back to summary |
|---|---|
| public Set Returns a set of ASN1ObjectIdentifiers giving the non-critical extensions.
| |
| getReqPolicy | back to summary |
|---|---|
| public ASN1ObjectIdentifier getReqPolicy() | |
| getVersion | back to summary |
|---|---|
| public int getVersion() | |
| hasExtensions | back to summary |
|---|---|
| public boolean hasExtensions() | |
| loadRequest | back to summary |
|---|---|
| private static TimeStampReq loadRequest(InputStream in) throws IOException | |
| validate | back to summary |
|---|---|
| public void validate(Set<E> algorithms, Set<E> policies, Set<E> extensions) throws TSPException Validate the timestamp request, checking the digest to see if it is of an accepted type and whether it is of the correct length for the algorithm specified.
| |