|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.microsoft.TimeStampRequest
The Microsoft Authenticode time stamp request, as sent to a legacy
(pre-RFC 3161) Authenticode time stamping service (the protocol behind
; the RFC 3161 protocol is ).
TimeStampRequest ::= SEQUENCE {
countersignatureType OBJECT IDENTIFIER,
attributes Attributes OPTIONAL,
content ContentInfo
}
The countersignatureType identifying a time stamp countersignature is the exact
OID 1.3.6.1.4.1.311.3.2.1 (MicrosoftObjectIdentifiers.microsoftTimeStampRequest).
No attributes are currently included in requests. The content is a PKCS#7 ContentInfo
of type data whose content is the encryptedDigest (signature) from the SignerInfo of
the PKCS#7 SignedData to be time stamped.
On the wire the request travels as the body of an HTTP 1.1 POST, base64 encoded, with Content-Type application/octet-stream. The response is a base64 encoded PKCS#7 SignedData whose SignerInfo the requester copies into the original SignedData as a PKCS#9 countersignature (an unsigned attribute of the original SignerInfo), merging the time stamper's certificates into the original SignedData's certificate set.
See Time Stamping Authenticode Signatures.
| Constructor Summary | |
TimeStampRequest(ASN1ObjectIdentifier countersignatureType,
Attributes attributes,
ContentInfo content)
|
|
TimeStampRequest(ContentInfo content)
Construct a time stamp request for the given content using the standard Authenticode countersignature type OID, 1.3.6.1.4.1.311.3.2.1, and no attributes. |
|
| Method Summary | |
Attributes |
getAttributes()
Return the attributes included in the request, or null if there are none. |
ContentInfo |
getContent()
|
ASN1ObjectIdentifier |
getCountersignatureType()
|
static TimeStampRequest |
getInstance(java.lang.Object obj)
|
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TimeStampRequest(ContentInfo content)
content - a ContentInfo of type data carrying the signature to be time stamped.
public TimeStampRequest(ASN1ObjectIdentifier countersignatureType,
Attributes attributes,
ContentInfo content)
| Method Detail |
public static TimeStampRequest getInstance(java.lang.Object obj)
public ASN1ObjectIdentifier getCountersignatureType()
public Attributes getAttributes()
public ContentInfo getContent()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||