Uses of Class
org.bouncycastle.asn1.ASN1Primitive
Packages that use ASN1Primitive
Package
Description
A library for parsing and writing ASN.1 objects.
BC specific object identifiers and classes for the BCFKS key store.
Support classes useful for encoding and supporting PKIX-CMP as described RFC 2510.
Support classes useful for encoding and supporting Cryptographic Message Syntax as described in PKCS#7 and RFC 3369 (formerly RFC 2630).
Classes specific to RFC 5753 "Use of Elliptic Curve Cryptography (ECC) Algorithms in Cryptographic Message Syntax."
Classes and object identifiers specific to RFC 4211 "Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF)."
Support classes for CRYPTO-PRO related objects - such as GOST identifiers.
Support classes useful for encoding and processing Data Validation and Certification Server (DVCS) protocols as described in RFC 3029.
Classes and object identifiers related to the German BSI standard BSI TR-03110.
Support classes useful for encoding and supporting [ESF] RFC3126
Electronic Signature Formats for long term electronic signatures.
Support classes useful for encoding and supporting Enhanced Security Services for S/MIME as described RFC 2634 and RFC 5035.
ICAO ASN.1 classes for electronic passport.
OCSP request extensions related to ISISMT -- the Industrial Signature Interoperability Specification.
X.509 attribute classes related to ISISMT -- the Industrial Signature Interoperability Specification.
Miscellaneous object identifiers and objects.
Support classes useful for encoding objects used by mozilla.
Support classes useful for encoding and supporting OCSP objects.
Objects and OID for the support of ISO OIW.
Support classes useful for encoding and supporting the various RSA PKCS documents.
Classes for support of the SEC standard for Elliptic Curve.
Support classes useful for encoding and supporting S/MIME.
Support classes useful for encoding and supporting Time Stamp Protocol as described RFC 3161.
Classes and object identifiers related to Ukranian DTSU4145 signature standard.
The base classes for defining an X.500 name.
Support classes useful for encoding and processing X.509 certificates.
Support classes useful for encoding and processing messages based around RFC3739
Classes and object identifiers related to the SigI specifciation (German Signature Law Interoperability specification).
Support classes useful for encoding and supporting X9.62 elliptic curve.
-
Uses of ASN1Primitive in org.bouncycastle.asn1
Subclasses of ASN1Primitive in org.bouncycastle.asn1Modifier and TypeClassDescriptionclass
An ASN.1 class that encodes to nothing, used in the OER library to deal with the Optional type.class
Base class for an ASN.1 ApplicationSpecific objectclass
Base class for BIT STRING objectsclass
Public facade of ASN.1 Boolean data.class
Class representing the ASN.1 ENUMERATED type.class
Class representing the DER-type Externalclass
Base class representing the ASN.1 GeneralizedTime type.class
Class representing the ASN.1 INTEGER type.class
A NULL object - use DERNull.INSTANCE for populating structures.class
Class representing the ASN.1 OBJECT IDENTIFIER type.class
Abstract base for the ASN.1 OCTET STRING data typeclass
ASN.1SEQUENCE
andSEQUENCE OF
constructs.class
ASN.1SET
andSET OF
constructs.class
ASN.1 TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).class
- * UTC time object.class
An indefinite-length encoding version of an ASN.1 ApplicationSpecific object.class
ASN.1 OctetStrings, with indefinite length rules, and constructed form support.class
Indefinite length SEQUENCE of objects.class
Indefinite lengthSET
andSET OF
constructs.class
BER TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).class
A DER encoding version of an application specific object.class
A BIT STRING with DER encoding - the first byte contains the count of padding bits included in the byte array's last byte.class
DER BMPString object encodes BMP (Basic Multilingual Plane) subset (aka UCS-2) of UNICODE (ISO 10646) characters in codepoints 0 to 65535.class
Class representing the DER-type Externalclass
DER Generalized time object.class
ASN.1 GENERAL-STRING data type.class
class
DER IA5String object - this is a ISO 646 (ASCII) string encoding code points 0 to 127.class
A NULL object.class
DER NumericString object - this is an ascii string of characters {0,1,2,3,4,5,6,7,8,9, }.class
Carrier class for a DER encoding OCTET STRINGclass
DER PrintableString object.class
Definite length SEQUENCE, encoding tells explicit number of bytes that the content of this sequence occupies.class
A DER encoded SET objectclass
DER T61String (also the teletex string), try not to use this if you don't need to.class
DER TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).class
DER UniversalString object - encodes UNICODE (ISO 10646) characters using 32-bit format.class
DER UTC time object.class
DER UTF8String object.class
class
DER VisibleString object encoding ISO 646 (ASCII) character code points 32 to 126.class
A DER encoding version of an application specific object.class
A Definite length BIT STRINGclass
Class representing the Definite-Length-type Externalclass
The DLSequence encodes a SEQUENCE using definite length form.class
The DLSet encodes ASN.1 SET value without element ordering, and always using definite length form.class
Definite Length TaggedObject - in ASN.1 notation this is any object preceded by a [n] where n is some number - these are assumed to follow the construction rules (as with sequences).Fields in org.bouncycastle.asn1 declared as ASN1PrimitiveModifier and TypeFieldDescriptionprotected ASN1Primitive
ASN1External.dataValueDescriptor
protected ASN1Primitive
ASN1External.externalContent
Methods in org.bouncycastle.asn1 that return ASN1PrimitiveModifier and TypeMethodDescriptionprotected ASN1Primitive
ASN1InputStream.buildObject
(int tag, int tagNo, int length) build an object given its tag and the number of bytes to construct it from.static ASN1Primitive
ASN1Primitive.fromByteArray
(byte[] data) Create a base ASN.1 object from a byte stream.ASN1External.getDataValueDescriptor()
Returns the data value descriptorASN1External.getExternalContent()
Returns the content of this elementASN1BitString.getLoadedObject()
ASN1OctetString.getLoadedObject()
ASN1TaggedObject.getLoadedObject()
BERApplicationSpecificParser.getLoadedObject()
Return an in-memory, encodable, representation of the application specific object.BEROctetStringParser.getLoadedObject()
Return an in-memory, encodable, representation of the OCTET STRING.BERSequenceParser.getLoadedObject()
Return an in-memory, encodable, representation of the SEQUENCE.BERSetParser.getLoadedObject()
Return an in-memory, encodable, representation of the SET.BERTaggedObjectParser.getLoadedObject()
Return an in-memory, encodable, representation of the tagged object.DERExternalParser.getLoadedObject()
Return an in-memory, encodable, representation of the EXTERNAL object.DEROctetStringParser.getLoadedObject()
Return an in-memory, encodable, representation of the OCTET STRING.DERSequenceParser.getLoadedObject()
Return an in memory, encodable, representation of the SEQUENCE.DERSetParser.getLoadedObject()
Return an in memory, encodable, representation of the SET.InMemoryRepresentable.getLoadedObject()
Get the in-memory representation of the ASN.1 object.ASN1ApplicationSpecific.getObject()
Return the enclosed object assuming explicit tagging.ASN1ApplicationSpecific.getObject
(int derTagNo) Return the enclosed object assuming implicit tagging.ASN1TaggedObject.getObject()
Return whatever was following the tag.ASN1InputStream.readObject()
ASN1Encodable.toASN1Primitive()
Return an object, possibly constructed, of ASN.1 primitivesabstract ASN1Primitive
ASN1Object.toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.ASN1Primitive.toASN1Primitive()
BERApplicationSpecificParser.toASN1Primitive()
Return a BERApplicationSpecific representing this parser and its contents.BEROctetStringParser.toASN1Primitive()
Return an BEROctetString representing this parser and its contents.BERSequenceParser.toASN1Primitive()
Return an BERSequence representing this parser and its contents.BERSetParser.toASN1Primitive()
Return an BERSet representing this parser and its contents.BERTaggedObjectParser.toASN1Primitive()
Return an ASN1TaggedObject representing this parser and its contents.DERExternalParser.toASN1Primitive()
Return an DERExternal representing this parser and its contents.DEROctetStringParser.toASN1Primitive()
Return an DEROctetString representing this parser and its contents.DERSequenceParser.toASN1Primitive()
Return a DERSequence representing this parser and its contents.DERSetParser.toASN1Primitive()
Return a DERSet representing this parser and its contents.Methods in org.bouncycastle.asn1 with parameters of type ASN1PrimitiveModifier and TypeMethodDescriptionprotected boolean
ASN1BitString.asn1Equals
(ASN1Primitive o) protected boolean
ASN1Boolean.asn1Equals
(ASN1Primitive o) protected boolean
DERBMPString.asn1Equals
(ASN1Primitive o) Constructors in org.bouncycastle.asn1 with parameters of type ASN1PrimitiveModifierConstructorDescriptionASN1External
(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData) Creates a new instance of External.ASN1External
(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData) Creates a new instance of External See X.690 for more informations about the meaning of these parametersDERExternal
(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData) Creates a new instance of DERExternal.DERExternal
(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData) Creates a new instance of DERExternal See X.690 for more informations about the meaning of these parametersDLExternal
(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, int encoding, ASN1Primitive externalData) Creates a new instance of Definite-Length External.DLExternal
(ASN1ObjectIdentifier directReference, ASN1Integer indirectReference, ASN1Primitive dataValueDescriptor, DERTaggedObject externalData) Creates a new instance of DERExternal See X.690 for more informations about the meaning of these parameters -
Uses of ASN1Primitive in org.bouncycastle.asn1.bc
Methods in org.bouncycastle.asn1.bc that return ASN1PrimitiveModifier and TypeMethodDescriptionEncryptedObjectStoreData.toASN1Primitive()
EncryptedPrivateKeyData.toASN1Primitive()
EncryptedSecretKeyData.toASN1Primitive()
ObjectData.toASN1Primitive()
ObjectDataSequence.toASN1Primitive()
ObjectStore.toASN1Primitive()
ObjectStoreData.toASN1Primitive()
ObjectStoreIntegrityCheck.toASN1Primitive()
PbkdMacIntegrityCheck.toASN1Primitive()
SecretKeyData.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.cmp
Subclasses of ASN1Primitive in org.bouncycastle.asn1.cmpModifier and TypeClassDescriptionclass
PKIFailureInfo ::= BIT STRING { badAlg (0), -- unrecognized or unsupported Algorithm Identifier badMessageCheck (1), -- integrity check failed (e.g., signature did not verify) badRequest (2), -- transaction not permitted or supported badTime (3), -- messageTime was not sufficiently close to the system time, as defined by local policy badCertId (4), -- no certificate could be found matching the provided criteria badDataFormat (5), -- the data submitted has the wrong format wrongAuthority (6), -- the authority indicated in the request is different from the one creating the response token incorrectData (7), -- the requester's data is incorrect (for notary services) missingTimeStamp (8), -- when the timestamp is missing but should be there (by policy) badPOP (9) -- the proof-of-possession failed certRevoked (10), certConfirmed (11), wrongIntegrity (12), badRecipientNonce (13), timeNotAvailable (14), -- the TSA's time source is not available unacceptedPolicy (15), -- the requested TSA policy is not supported by the TSA unacceptedExtension (16), -- the requested extension is not supported by the TSA addInfoNotAvailable (17) -- the additional information requested could not be understood -- or is not available badSenderNonce (18), badCertTemplate (19), signerNotTrusted (20), transactionIdInUse (21), unsupportedVersion (22), notAuthorized (23), systemUnavail (24), systemFailure (25), -- the request cannot be handled due to system failure duplicateCertReq (26)Methods in org.bouncycastle.asn1.cmp that return ASN1PrimitiveModifier and TypeMethodDescriptionCAKeyUpdAnnContent.toASN1Primitive()
CAKeyUpdAnnContent ::= SEQUENCE { oldWithNew CMPCertificate, -- old pub signed with new priv newWithOld CMPCertificate, -- new pub signed with old priv newWithNew CMPCertificate -- new pub signed with new priv }CertConfirmContent.toASN1Primitive()
CertConfirmContent ::= SEQUENCE OF CertStatusCertifiedKeyPair.toASN1Primitive()
Return the primitive representation of PKIPublicationInfo.CertOrEncCert.toASN1Primitive()
CertOrEncCert ::= CHOICE { certificate [0] CMPCertificate, encryptedCert [1] EncryptedValue }CertRepMessage.toASN1Primitive()
CertRepMessage ::= SEQUENCE { caPubs [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate OPTIONAL, response SEQUENCE OF CertResponse }CertResponse.toASN1Primitive()
CertResponse ::= SEQUENCE { certReqId INTEGER, -- to match this response with corresponding request (a value -- of -1 is to be used if certReqId is not specified in the -- corresponding request) status PKIStatusInfo, certifiedKeyPair CertifiedKeyPair OPTIONAL, rspInfo OCTET STRING OPTIONAL -- analogous to the id-regInfo-utf8Pairs string defined -- for regInfo in CertReqMsg [CRMF] }CertStatus.toASN1Primitive()
CertStatus ::= SEQUENCE { certHash OCTET STRING, -- the hash of the certificate, using the same hash algorithm -- as is used to create and verify the certificate signature certReqId INTEGER, -- to match this confirmation with the corresponding req/rep statusInfo PKIStatusInfo OPTIONAL }Challenge.toASN1Primitive()
Challenge ::= SEQUENCE { owf AlgorithmIdentifier OPTIONAL, -- MUST be present in the first Challenge; MAY be omitted in -- any subsequent Challenge in POPODecKeyChallContent (if -- omitted, then the owf used in the immediately preceding -- Challenge is to be used).CMPCertificate.toASN1Primitive()
CMPCertificate ::= CHOICE { x509v3PKCert Certificate otherCert [tag] EXPLICIT ANY DEFINED BY tag }CRLAnnContent.toASN1Primitive()
CRLAnnContent ::= SEQUENCE OF CertificateListErrorMsgContent.toASN1Primitive()
ErrorMsgContent ::= SEQUENCE { pKIStatusInfo PKIStatusInfo, errorCode INTEGER OPTIONAL, -- implementation-specific error codes errorDetails PKIFreeText OPTIONAL -- implementation-specific error details }GenMsgContent.toASN1Primitive()
GenMsgContent ::= SEQUENCE OF InfoTypeAndValueGenRepContent.toASN1Primitive()
GenRepContent ::= SEQUENCE OF InfoTypeAndValueInfoTypeAndValue.toASN1Primitive()
InfoTypeAndValue ::= SEQUENCE { infoType OBJECT IDENTIFIER, infoValue ANY DEFINED BY infoType OPTIONAL }KeyRecRepContent.toASN1Primitive()
KeyRecRepContent ::= SEQUENCE { status PKIStatusInfo, newSigCert [0] CMPCertificate OPTIONAL, caCerts [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate OPTIONAL, keyPairHist [2] SEQUENCE SIZE (1..MAX) OF CertifiedKeyPair OPTIONAL }OOBCertHash.toASN1Primitive()
OOBCertHash ::= SEQUENCE { hashAlg [0] AlgorithmIdentifier OPTIONAL, certId [1] CertId OPTIONAL, hashVal BIT STRING -- hashVal is calculated over the DER encoding of the -- self-signed certificate with the identifier certID.PBMParameter.toASN1Primitive()
PBMParameter ::= SEQUENCE { salt OCTET STRING, -- note: implementations MAY wish to limit acceptable sizes -- of this string to values appropriate for their environment -- in order to reduce the risk of denial-of-service attacks owf AlgorithmIdentifier, -- AlgId for a One-Way Function (SHA-1 recommended) iterationCount INTEGER, -- number of times the OWF is applied -- note: implementations MAY wish to limit acceptable sizes -- of this integer to values appropriate for their environment -- in order to reduce the risk of denial-of-service attacks mac AlgorithmIdentifier -- the MAC AlgId (e.g., DES-MAC, Triple-DES-MAC [PKCS11], } -- or HMAC [RFC2104, RFC2202])PKIBody.toASN1Primitive()
PKIBody ::= CHOICE { -- message-specific body elements ir [0] CertReqMessages, --Initialization Request ip [1] CertRepMessage, --Initialization Response cr [2] CertReqMessages, --Certification Request cp [3] CertRepMessage, --Certification Response p10cr [4] CertificationRequest, --imported from [PKCS10] popdecc [5] POPODecKeyChallContent, --pop Challenge popdecr [6] POPODecKeyRespContent, --pop Response kur [7] CertReqMessages, --Key Update Request kup [8] CertRepMessage, --Key Update Response krr [9] CertReqMessages, --Key Recovery Request krp [10] KeyRecRepContent, --Key Recovery Response rr [11] RevReqContent, --Revocation Request rp [12] RevRepContent, --Revocation Response ccr [13] CertReqMessages, --Cross-Cert.PKIConfirmContent.toASN1Primitive()
PKIConfirmContent ::= NULLPKIFreeText.toASN1Primitive()
PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8StringPKIHeader.toASN1Primitive()
PKIHeader ::= SEQUENCE { pvno INTEGER { cmp1999(1), cmp2000(2) }, sender GeneralName, -- identifies the sender recipient GeneralName, -- identifies the intended recipient messageTime [0] GeneralizedTime OPTIONAL, -- time of production of this message (used when sender -- believes that the transport will be "suitable"; i.e., -- that the time will still be meaningful upon receipt) protectionAlg [1] AlgorithmIdentifier OPTIONAL, -- algorithm used for calculation of protection bits senderKID [2] KeyIdentifier OPTIONAL, recipKID [3] KeyIdentifier OPTIONAL, -- to identify specific keys used for protection transactionID [4] OCTET STRING OPTIONAL, -- identifies the transaction; i.e., this will be the same in -- corresponding request, response, certConf, and PKIConf -- messages senderNonce [5] OCTET STRING OPTIONAL, recipNonce [6] OCTET STRING OPTIONAL, -- nonces used to provide replay protection, senderNonce -- is inserted by the creator of this message; recipNonce -- is a nonce previously inserted in a related message by -- the intended recipient of this message freeText [7] PKIFreeText OPTIONAL, -- this may be used to indicate context-specific instructions -- (this field is intended for human consumption) generalInfo [8] SEQUENCE SIZE (1..MAX) OF InfoTypeAndValue OPTIONAL -- this may be used to convey context-specific information -- (this field not primarily intended for human consumption) }PKIMessage.toASN1Primitive()
PKIMessage ::= SEQUENCE { header PKIHeader, body PKIBody, protection [0] PKIProtection OPTIONAL, extraCerts [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate OPTIONAL }PKIMessages.toASN1Primitive()
PKIMessages ::= SEQUENCE SIZE (1..MAX) OF PKIMessagePKIStatus.toASN1Primitive()
PKIStatusInfo.toASN1Primitive()
PKIStatusInfo ::= SEQUENCE { status PKIStatus, (INTEGER) statusString PKIFreeText OPTIONAL, failInfo PKIFailureInfo OPTIONAL (BIT STRING) } PKIStatus: granted (0), -- you got exactly what you asked for grantedWithMods (1), -- you got something like what you asked for rejection (2), -- you don't get it, more information elsewhere in the message waiting (3), -- the request body part has not yet been processed, expect to hear more later revocationWarning (4), -- this message contains a warning that a revocation is imminent revocationNotification (5), -- notification that a revocation has occurred keyUpdateWarning (6) -- update already done for the oldCertId specified in CertReqMsg PKIFailureInfo: badAlg (0), -- unrecognized or unsupported Algorithm Identifier badMessageCheck (1), -- integrity check failed (e.g., signature did not verify) badRequest (2), -- transaction not permitted or supported badTime (3), -- messageTime was not sufficiently close to the system time, as defined by local policy badCertId (4), -- no certificate could be found matching the provided criteria badDataFormat (5), -- the data submitted has the wrong format wrongAuthority (6), -- the authority indicated in the request is different from the one creating the response token incorrectData (7), -- the requester's data is incorrect (for notary services) missingTimeStamp (8), -- when the timestamp is missing but should be there (by policy) badPOP (9) -- the proof-of-possession failedPollRepContent.toASN1Primitive()
PollRepContent ::= SEQUENCE OF SEQUENCE { certReqId INTEGER, checkAfter INTEGER, -- time in seconds reason PKIFreeText OPTIONAL }PollReqContent.toASN1Primitive()
PollReqContent ::= SEQUENCE OF SEQUENCE { certReqId INTEGER }POPODecKeyChallContent.toASN1Primitive()
POPODecKeyChallContent ::= SEQUENCE OF ChallengePOPODecKeyRespContent.toASN1Primitive()
POPODecKeyRespContent ::= SEQUENCE OF INTEGERProtectedPart.toASN1Primitive()
ProtectedPart ::= SEQUENCE { header PKIHeader, body PKIBody }RevAnnContent.toASN1Primitive()
RevAnnContent ::= SEQUENCE { status PKIStatus, certId CertId, willBeRevokedAt GeneralizedTime, badSinceDate GeneralizedTime, crlDetails Extensions OPTIONAL -- extra CRL details (e.g., crl number, reason, location, etc.) }RevDetails.toASN1Primitive()
RevDetails ::= SEQUENCE { certDetails CertTemplate, -- allows requester to specify as much as they can about -- the cert.RevRepContent.toASN1Primitive()
RevRepContent ::= SEQUENCE { status SEQUENCE SIZE (1..MAX) OF PKIStatusInfo, -- in same order as was sent in RevReqContent revCerts [0] SEQUENCE SIZE (1..MAX) OF CertId OPTIONAL, -- IDs for which revocation was requested -- (same order as status) crls [1] SEQUENCE SIZE (1..MAX) OF CertificateList OPTIONAL -- the resulting CRLs (there may be more than one) }RevReqContent.toASN1Primitive()
RevReqContent ::= SEQUENCE OF RevDetails -
Uses of ASN1Primitive in org.bouncycastle.asn1.cms
Methods in org.bouncycastle.asn1.cms that return ASN1PrimitiveModifier and TypeMethodDescriptionAttribute.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Attributes.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AuthenticatedData.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AuthEnvelopedData.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CCMParameters.toASN1Primitive()
CMSAlgorithmProtection.toASN1Primitive()
CompressedData.toASN1Primitive()
ContentInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.DigestedData.toASN1Primitive()
EncryptedContentInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.EncryptedData.toASN1Primitive()
EnvelopedData.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Evidence.toASN1Primitive()
GCMParameters.toASN1Primitive()
GenericHybridParameters.toASN1Primitive()
IssuerAndSerialNumber.toASN1Primitive()
KEKIdentifier.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.KEKRecipientInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.KeyAgreeRecipientIdentifier.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.KeyAgreeRecipientInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.KeyTransRecipientInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.MetaData.toASN1Primitive()
OriginatorIdentifierOrKey.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OriginatorInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OriginatorPublicKey.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OtherKeyAttribute.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OtherRecipientInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OtherRevocationInfoFormat.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.PasswordRecipientInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.RecipientEncryptedKey.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.RecipientIdentifier.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.RecipientInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.RecipientKeyIdentifier.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.RsaKemParameters.toASN1Primitive()
SCVPReqRes.toASN1Primitive()
SignedData.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.SignerIdentifier.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.SignerInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Time.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.TimeStampAndCRL.toASN1Primitive()
TimeStampedData.toASN1Primitive()
TimeStampTokenEvidence.toASN1Primitive()
Constructors in org.bouncycastle.asn1.cms with parameters of type ASN1Primitive -
Uses of ASN1Primitive in org.bouncycastle.asn1.cms.ecc
Methods in org.bouncycastle.asn1.cms.ecc that return ASN1PrimitiveModifier and TypeMethodDescriptionECCCMSSharedInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.MQVuserKeyingMaterial.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
Uses of ASN1Primitive in org.bouncycastle.asn1.crmf
Subclasses of ASN1Primitive in org.bouncycastle.asn1.crmfMethods in org.bouncycastle.asn1.crmf that return ASN1PrimitiveModifier and TypeMethodDescriptionAttributeTypeAndValue.toASN1Primitive()
AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }CertId.toASN1Primitive()
CertId ::= SEQUENCE { issuer GeneralName, serialNumber INTEGER }CertReqMessages.toASN1Primitive()
CertReqMessages ::= SEQUENCE SIZE (1..MAX) OF CertReqMsgCertReqMsg.toASN1Primitive()
CertReqMsg ::= SEQUENCE { certReq CertRequest, popo ProofOfPossession OPTIONAL, -- content depends upon key type regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }CertRequest.toASN1Primitive()
CertRequest ::= SEQUENCE { certReqId INTEGER, -- ID for matching request and reply certTemplate CertTemplate, -- Selected fields of cert to be issued controls Controls OPTIONAL } -- Attributes affecting issuanceCertTemplate.toASN1Primitive()
CertTemplate ::= SEQUENCE { version [0] Version OPTIONAL, serialNumber [1] INTEGER OPTIONAL, signingAlg [2] AlgorithmIdentifier OPTIONAL, issuer [3] Name OPTIONAL, validity [4] OptionalValidity OPTIONAL, subject [5] Name OPTIONAL, publicKey [6] SubjectPublicKeyInfo OPTIONAL, issuerUID [7] UniqueIdentifier OPTIONAL, subjectUID [8] UniqueIdentifier OPTIONAL, extensions [9] Extensions OPTIONAL }Controls.toASN1Primitive()
Controls ::= SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValueEncKeyWithID.toASN1Primitive()
EncKeyWithID ::= SEQUENCE { privateKey PrivateKeyInfo, identifier CHOICE { string UTF8String, generalName GeneralName } OPTIONAL }EncryptedKey.toASN1Primitive()
EncryptedKey ::= CHOICE { encryptedValue EncryptedValue, -- deprecated envelopedData [0] EnvelopedData } -- The encrypted private key MUST be placed in the envelopedData -- encryptedContentInfo encryptedContent OCTET STRING.EncryptedValue.toASN1Primitive()
EncryptedValue ::= SEQUENCE { intendedAlg [0] AlgorithmIdentifier OPTIONAL, -- the intended algorithm for which the value will be used symmAlg [1] AlgorithmIdentifier OPTIONAL, -- the symmetric algorithm used to encrypt the value encSymmKey [2] BIT STRING OPTIONAL, -- the (encrypted) symmetric key used to encrypt the value keyAlg [3] AlgorithmIdentifier OPTIONAL, -- algorithm used to encrypt the symmetric key valueHint [4] OCTET STRING OPTIONAL, -- a brief description or identifier of the encValue content -- (may be meaningful only to the sending entity, and used only -- if EncryptedValue might be re-examined by the sending entity -- in the future) encValue BIT STRING } -- the encrypted value itselfOptionalValidity.toASN1Primitive()
OptionalValidity ::= SEQUENCE { notBefore [0] Time OPTIONAL, notAfter [1] Time OPTIONAL } --at least one MUST be presentPKIArchiveOptions.toASN1Primitive()
PKIArchiveOptions ::= CHOICE { encryptedPrivKey [0] EncryptedKey, -- the actual value of the private key keyGenParameters [1] KeyGenParameters, -- parameters which allow the private key to be re-generated archiveRemGenPrivKey [2] BOOLEAN } -- set to TRUE if sender wishes receiver to archive the private -- key of a key pair that the receiver generates in response to -- this request; set to FALSE if no archival is desired.PKIPublicationInfo.toASN1Primitive()
Return the primitive representation of PKIPublicationInfo.PKMACValue.toASN1Primitive()
PKMACValue ::= SEQUENCE { algId AlgorithmIdentifier, -- algorithm value shall be PasswordBasedMac 1.2.840.113533.7.66.13 -- parameter value is PBMParameter value BIT STRING }POPOPrivKey.toASN1Primitive()
POPOPrivKey ::= CHOICE { thisMessage [0] BIT STRING, -- Deprecated -- possession is proven in this message (which contains the private -- key itself (encrypted for the CA)) subsequentMessage [1] SubsequentMessage, -- possession will be proven in a subsequent message dhMAC [2] BIT STRING, -- Deprecated agreeMAC [3] PKMACValue, encryptedKey [4] EnvelopedData }POPOSigningKey.toASN1Primitive()
POPOSigningKey ::= SEQUENCE { poposkInput [0] POPOSigningKeyInput OPTIONAL, algorithmIdentifier AlgorithmIdentifier, signature BIT STRING } -- The signature (using "algorithmIdentifier") is on the -- DER-encoded value of poposkInput.POPOSigningKeyInput.toASN1Primitive()
POPOSigningKeyInput ::= SEQUENCE { authInfo CHOICE { sender [0] GeneralName, -- used only if an authenticated identity has been -- established for the sender (e.g., a DN from a -- previously-issued and currently-valid certificate publicKeyMAC PKMACValue }, -- used if no authenticated GeneralName currently exists for -- the sender; publicKeyMAC contains a password-based MAC -- on the DER-encoded value of publicKey publicKey SubjectPublicKeyInfo } -- from CertTemplateProofOfPossession.toASN1Primitive()
ProofOfPossession ::= CHOICE { raVerified [0] NULL, -- used if the RA has already verified that the requester is in -- possession of the private key signature [1] POPOSigningKey, keyEncipherment [2] POPOPrivKey, keyAgreement [3] POPOPrivKey }SinglePubInfo.toASN1Primitive()
Return the primitive representation of SinglePubInfo. -
Uses of ASN1Primitive in org.bouncycastle.asn1.cryptopro
Methods in org.bouncycastle.asn1.cryptopro that return ASN1PrimitiveModifier and TypeMethodDescriptionECGOST3410ParamSetParameters.toASN1Primitive()
GOST28147Parameters.toASN1Primitive()
Gost28147-89-Parameters ::= SEQUENCE { iv Gost28147-89-IV, encryptionParamSet OBJECT IDENTIFIER } Gost28147-89-IV ::= OCTET STRING (SIZE (8))GOST3410ParamSetParameters.toASN1Primitive()
GOST3410PublicKeyAlgParameters.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.dvcs
Methods in org.bouncycastle.asn1.dvcs that return ASN1PrimitiveModifier and TypeMethodDescriptionCertEtcToken.toASN1Primitive()
Data.toASN1Primitive()
DVCSCertInfo.toASN1Primitive()
DVCSErrorNotice.toASN1Primitive()
DVCSRequest.toASN1Primitive()
DVCSRequestInformation.toASN1Primitive()
DVCSResponse.toASN1Primitive()
DVCSTime.toASN1Primitive()
PathProcInput.toASN1Primitive()
ServiceType.toASN1Primitive()
TargetEtcChain.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.eac
Methods in org.bouncycastle.asn1.eac that return ASN1PrimitiveModifier and TypeMethodDescriptionCertificateBody.toASN1Primitive()
create a "request" or "profile" type Iso7816CertificateBody according to the variables sets.CertificateHolderAuthorization.toASN1Primitive()
return the Certificate Holder Authorization as a DERApplicationSpecific ObjectCVCertificate.toASN1Primitive()
CVCertificateRequest.toASN1Primitive()
ECDSAPublicKey.toASN1Primitive()
RSAPublicKey.toASN1Primitive()
UnsignedInteger.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.esf
Methods in org.bouncycastle.asn1.esf that return ASN1PrimitiveModifier and TypeMethodDescriptionCommitmentTypeIndication.toASN1Primitive()
CommitmentTypeIndication ::= SEQUENCE { commitmentTypeId CommitmentTypeIdentifier, commitmentTypeQualifier SEQUENCE SIZE (1..MAX) OF CommitmentTypeQualifier OPTIONAL }CommitmentTypeQualifier.toASN1Primitive()
Returns a DER-encodable representation of this instance.CompleteRevocationRefs.toASN1Primitive()
CrlIdentifier.toASN1Primitive()
CrlListID.toASN1Primitive()
CrlOcspRef.toASN1Primitive()
CrlValidatedID.toASN1Primitive()
OcspIdentifier.toASN1Primitive()
OcspListID.toASN1Primitive()
OcspResponsesID.toASN1Primitive()
OtherHash.toASN1Primitive()
OtherHashAlgAndValue.toASN1Primitive()
OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OtherHashValue } OtherHashValue ::= OCTET STRINGOtherRevRefs.toASN1Primitive()
OtherRevVals.toASN1Primitive()
RevocationValues.toASN1Primitive()
SignaturePolicyId.toASN1Primitive()
SignaturePolicyId ::= SEQUENCE { sigPolicyId SigPolicyId, sigPolicyHash SigPolicyHash, sigPolicyQualifiers SEQUENCE SIZE (1..MAX) OF SigPolicyQualifierInfo OPTIONAL}SignaturePolicyIdentifier.toASN1Primitive()
SignaturePolicyIdentifier ::= CHOICE{ SignaturePolicyId SignaturePolicyId, SignaturePolicyImplied SignaturePolicyImplied } SignaturePolicyImplied ::= NULLSignerAttribute.toASN1Primitive()
SignerAttribute ::= SEQUENCE OF CHOICE { claimedAttributes [0] ClaimedAttributes, certifiedAttributes [1] CertifiedAttributes } ClaimedAttributes ::= SEQUENCE OF Attribute CertifiedAttributes ::= AttributeCertificate -- as defined in RFC 3281: see clause 4.1.SignerLocation.toASN1Primitive()
SignerLocation ::= SEQUENCE { countryName [0] DirectoryString OPTIONAL, localityName [1] DirectoryString OPTIONAL, postalAddress [2] PostalAddress OPTIONAL } PostalAddress ::= SEQUENCE SIZE(1..6) OF DirectoryString DirectoryString ::= CHOICE { teletexString TeletexString (SIZE (1..MAX)), printableString PrintableString (SIZE (1..MAX)), universalString UniversalString (SIZE (1..MAX)), utf8String UTF8String (SIZE (1..SigPolicyQualifierInfo.toASN1Primitive()
SigPolicyQualifierInfo ::= SEQUENCE { sigPolicyQualifierId SigPolicyQualifierId, sigQualifier ANY DEFINED BY sigPolicyQualifierId } SigPolicyQualifierId ::= OBJECT IDENTIFIERSigPolicyQualifiers.toASN1Primitive()
SigPolicyQualifiers ::= SEQUENCE SIZE (1..MAX) OF SigPolicyQualifierInfoSPuri.toASN1Primitive()
SPuri ::= IA5StringSPUserNotice.toASN1Primitive()
SPUserNotice ::= SEQUENCE { noticeRef NoticeReference OPTIONAL, explicitText DisplayText OPTIONAL } -
Uses of ASN1Primitive in org.bouncycastle.asn1.ess
Methods in org.bouncycastle.asn1.ess that return ASN1PrimitiveModifier and TypeMethodDescriptionContentHints.toASN1Primitive()
ContentHints ::= SEQUENCE { contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL, contentType ContentType }ContentIdentifier.toASN1Primitive()
The definition of ContentIdentifier isESSCertID.toASN1Primitive()
ESSCertID ::= SEQUENCE { certHash Hash, issuerSerial IssuerSerial OPTIONAL }ESSCertIDv2.toASN1Primitive()
ESSCertIDv2 ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier DEFAULT {algorithm id-sha256}, certHash Hash, issuerSerial IssuerSerial OPTIONAL } Hash ::= OCTET STRING IssuerSerial ::= SEQUENCE { issuer GeneralNames, serialNumber CertificateSerialNumber }OtherCertID.toASN1Primitive()
OtherCertID ::= SEQUENCE { otherCertHash OtherHash, issuerSerial IssuerSerial OPTIONAL } OtherHash ::= CHOICE { sha1Hash OCTET STRING, otherHash OtherHashAlgAndValue } OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OCTET STRING }OtherSigningCertificate.toASN1Primitive()
The definition of OtherSigningCertificate isSigningCertificate.toASN1Primitive()
The definition of SigningCertificate isSigningCertificateV2.toASN1Primitive()
The definition of SigningCertificateV2 is -
Uses of ASN1Primitive in org.bouncycastle.asn1.icao
Methods in org.bouncycastle.asn1.icao that return ASN1PrimitiveModifier and TypeMethodDescriptionCscaMasterList.toASN1Primitive()
DataGroupHash.toASN1Primitive()
LDSSecurityObject.toASN1Primitive()
LDSVersionInfo.toASN1Primitive()
LDSVersionInfo ::= SEQUENCE { ldsVersion PRINTABLE STRING unicodeVersion PRINTABLE STRING } -
Uses of ASN1Primitive in org.bouncycastle.asn1.isismtt.ocsp
Methods in org.bouncycastle.asn1.isismtt.ocsp that return ASN1PrimitiveModifier and TypeMethodDescriptionCertHash.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.RequestedCertificate.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
Uses of ASN1Primitive in org.bouncycastle.asn1.isismtt.x509
Methods in org.bouncycastle.asn1.isismtt.x509 that return ASN1PrimitiveModifier and TypeMethodDescriptionAdditionalInformationSyntax.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Admissions.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AdmissionSyntax.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.DeclarationOfMajority.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.MonetaryLimit.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.NamingAuthority.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ProcurationSyntax.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ProfessionInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Restriction.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
Uses of ASN1Primitive in org.bouncycastle.asn1.misc
Subclasses of ASN1Primitive in org.bouncycastle.asn1.miscModifier and TypeClassDescriptionclass
The NetscapeCertType object.class
class
Methods in org.bouncycastle.asn1.misc that return ASN1PrimitiveModifier and TypeMethodDescriptionCAST5CBCParameters.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.IDEACBCPar.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ScryptParams.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.mozilla
Methods in org.bouncycastle.asn1.mozilla that return ASN1PrimitiveModifier and TypeMethodDescriptionPublicKeyAndChallenge.toASN1Primitive()
SignedPublicKeyAndChallenge.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.ocsp
Methods in org.bouncycastle.asn1.ocsp that return ASN1PrimitiveModifier and TypeMethodDescriptionBasicOCSPResponse.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CertID.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CertStatus.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CrlID.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OCSPRequest.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OCSPResponse.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OCSPResponseStatus.toASN1Primitive()
Request.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ResponderID.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ResponseBytes.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ResponseData.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.RevokedInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ServiceLocator.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Signature.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.SingleResponse.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.TBSRequest.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
Uses of ASN1Primitive in org.bouncycastle.asn1.oiw
Methods in org.bouncycastle.asn1.oiw that return ASN1Primitive -
Uses of ASN1Primitive in org.bouncycastle.asn1.pkcs
Methods in org.bouncycastle.asn1.pkcs that return ASN1PrimitiveModifier and TypeMethodDescriptionAttribute.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AuthenticatedSafe.toASN1Primitive()
CertBag.toASN1Primitive()
CertificationRequest.toASN1Primitive()
CertificationRequestInfo.toASN1Primitive()
ContentInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CRLBag.toASN1Primitive()
CRLBag ::= SEQUENCE { crlId BAG-TYPE.&id ({CRLTypes}), crlValue [0] EXPLICIT BAG-TYPE.&Type ({CRLTypes}{@crlId}) } x509CRL BAG-TYPE ::= {OCTET STRING IDENTIFIED BY {certTypes 1} -- DER-encoded X.509 CRL stored in OCTET STRING CRLTypes BAG-TYPE ::= { x509CRL, ...DHParameter.toASN1Primitive()
EncryptedData.toASN1Primitive()
EncryptedPrivateKeyInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.EncryptionScheme.toASN1Primitive()
IssuerAndSerialNumber.toASN1Primitive()
KeyDerivationFunc.toASN1Primitive()
MacData.toASN1Primitive()
MacData ::= SEQUENCE { mac DigestInfo, macSalt OCTET STRING, iterations INTEGER DEFAULT 1 -- Note: The default is for historic reasons and its use is deprecated.PBEParameter.toASN1Primitive()
PBES2Parameters.toASN1Primitive()
PBKDF2Params.toASN1Primitive()
Return an ASN.1 structure suitable for encoding.Pfx.toASN1Primitive()
PKCS12PBEParams.toASN1Primitive()
PrivateKeyInfo.toASN1Primitive()
RC2CBCParameter.toASN1Primitive()
RSAESOAEPparams.toASN1Primitive()
RSAES-OAEP-params ::= SEQUENCE { hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1, maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1, pSourceAlgorithm [2] PKCS1PSourceAlgorithms DEFAULT pSpecifiedEmpty } OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= { { OID id-sha1 PARAMETERS NULL }| { OID id-sha256 PARAMETERS NULL }| { OID id-sha384 PARAMETERS NULL }| { OID id-sha512 PARAMETERS NULL }, ...RSAPrivateKey.toASN1Primitive()
This outputs the key in PKCS1v2 format.RSAPublicKey.toASN1Primitive()
This outputs the key in PKCS1v2 format.RSASSAPSSparams.toASN1Primitive()
RSASSA-PSS-params ::= SEQUENCE { hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1, maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1, saltLength [2] INTEGER DEFAULT 20, trailerField [3] TrailerField DEFAULT trailerFieldBC } OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= { { OID id-sha1 PARAMETERS NULL }| { OID id-sha256 PARAMETERS NULL }| { OID id-sha384 PARAMETERS NULL }| { OID id-sha512 PARAMETERS NULL }, ...SafeBag.toASN1Primitive()
SignedData.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.SignerInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
Uses of ASN1Primitive in org.bouncycastle.asn1.sec
Methods in org.bouncycastle.asn1.sec that return ASN1PrimitiveModifier and TypeMethodDescriptionECPrivateKey.getParameters()
ECPrivateKey.toASN1Primitive()
ECPrivateKey ::= SEQUENCE { version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1), privateKey OCTET STRING, parameters [0] Parameters OPTIONAL, publicKey [1] BIT STRING OPTIONAL } -
Uses of ASN1Primitive in org.bouncycastle.asn1.smime
Methods in org.bouncycastle.asn1.smime that return ASN1PrimitiveModifier and TypeMethodDescriptionSMIMECapabilities.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.SMIMECapability.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
Uses of ASN1Primitive in org.bouncycastle.asn1.tsp
Methods in org.bouncycastle.asn1.tsp that return ASN1PrimitiveModifier and TypeMethodDescriptionAccuracy.toASN1Primitive()
Accuracy ::= SEQUENCE { seconds INTEGER OPTIONAL, millis [0] INTEGER (1..999) OPTIONAL, micros [1] INTEGER (1..999) OPTIONAL }MessageImprint.toASN1Primitive()
MessageImprint ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashedMessage OCTET STRING }TimeStampReq.toASN1Primitive()
TimeStampReq ::= SEQUENCE { version INTEGER { v1(1) }, messageImprint MessageImprint, --a hash algorithm OID and the hash value of the data to be --time-stamped reqPolicy TSAPolicyId OPTIONAL, nonce INTEGER OPTIONAL, certReq BOOLEAN DEFAULT FALSE, extensions [0] IMPLICIT Extensions OPTIONAL }TimeStampResp.toASN1Primitive()
TimeStampResp ::= SEQUENCE { status PKIStatusInfo, timeStampToken TimeStampToken OPTIONAL }TSTInfo.toASN1Primitive()
TSTInfo ::= SEQUENCE { version INTEGER { v1(1) }, policy TSAPolicyId, messageImprint MessageImprint, -- MUST have the same value as the similar field in -- TimeStampReq serialNumber INTEGER, -- Time-Stamping users MUST be ready to accommodate integers -- up to 160 bits. -
Uses of ASN1Primitive in org.bouncycastle.asn1.ua
Methods in org.bouncycastle.asn1.ua that return ASN1PrimitiveModifier and TypeMethodDescriptionDSTU4145BinaryField.toASN1Primitive()
BinaryField ::= SEQUENCE { M INTEGER, CHOICE {Trinomial, Pentanomial} Trinomial::= INTEGER Pentanomial::= SEQUENCE { k INTEGER, j INTEGER, l INTEGER}DSTU4145ECBinary.toASN1Primitive()
ECBinary ::= SEQUENCE { version [0] EXPLICIT INTEGER DEFAULT 0, f BinaryField, a INTEGER (0..1), b OCTET STRING, n INTEGER, bp OCTET STRING}DSTU4145Params.toASN1Primitive()
DSTU4145PublicKey.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.x500
Methods in org.bouncycastle.asn1.x500 that return ASN1PrimitiveModifier and TypeMethodDescriptionAttributeTypeAndValue.toASN1Primitive()
AttributeTypeAndValue ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }DirectoryString.toASN1Primitive()
DirectoryString ::= CHOICE { teletexString TeletexString (SIZE (1..MAX)), printableString PrintableString (SIZE (1..MAX)), universalString UniversalString (SIZE (1..MAX)), utf8String UTF8String (SIZE (1..MAX)), bmpString BMPString (SIZE (1..MAX)) }RDN.toASN1Primitive()
RelativeDistinguishedName ::= SET OF AttributeTypeAndValue AttributeTypeAndValue ::= SEQUENCE { type AttributeType, value AttributeValue }X500Name.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.x509
Subclasses of ASN1Primitive in org.bouncycastle.asn1.x509Modifier and TypeClassDescriptionclass
PolicyQualifierId, used in the CertificatePolicies X509V3 extension.class
The ReasonFlags object.Methods in org.bouncycastle.asn1.x509 that return ASN1PrimitiveModifier and TypeMethodDescriptionSubjectPublicKeyInfo.parsePublicKey()
for when the public key is an encoded object - if the bitstring can't be decoded this routine throws an IOException.AccessDescription.toASN1Primitive()
AlgorithmIdentifier.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AttCertIssuer.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AttCertValidityPeriod.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Attribute.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AttributeCertificate.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AttributeCertificateInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.AuthorityInformationAccess.toASN1Primitive()
AuthorityKeyIdentifier.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.BasicConstraints.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Certificate.toASN1Primitive()
CertificateList.toASN1Primitive()
CertificatePair.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CertificatePolicies.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CertPolicyId.toASN1Primitive()
CRLDistPoint.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.CRLNumber.toASN1Primitive()
CRLReason.toASN1Primitive()
DigestInfo.toASN1Primitive()
DisplayText.toASN1Primitive()
DistributionPoint.toASN1Primitive()
DistributionPointName.toASN1Primitive()
DSAParameter.toASN1Primitive()
ExtendedKeyUsage.toASN1Primitive()
Return the ASN.1 primitive form of this object.Extension.toASN1Primitive()
Extensions.toASN1Primitive()
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { extnId EXTENSION.&id ({ExtensionSet}), critical BOOLEAN DEFAULT FALSE, extnValue OCTET STRING }GeneralName.toASN1Primitive()
GeneralNames.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.GeneralSubtree.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Holder.toASN1Primitive()
IetfAttrSyntax.toASN1Primitive()
IetfAttrSyntax ::= SEQUENCE { policyAuthority [0] GeneralNames OPTIONAL, values SEQUENCE OF CHOICE { octets OCTET STRING, oid OBJECT IDENTIFIER, string UTF8String } }IssuerSerial.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.IssuingDistributionPoint.toASN1Primitive()
KeyPurposeId.toASN1Primitive()
KeyUsage.toASN1Primitive()
NameConstraints.toASN1Primitive()
NoticeReference.toASN1Primitive()
DescribetoASN1Object
method here.ObjectDigestInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.OtherName.toASN1Primitive()
PolicyConstraints.toASN1Primitive()
PolicyInformation.toASN1Primitive()
PolicyMappings.toASN1Primitive()
PolicyQualifierInfo.toASN1Primitive()
Returns a DER-encodable representation of this instance.PrivateKeyUsagePeriod.toASN1Primitive()
RoleSyntax.toASN1Primitive()
Implementation of the methodtoASN1Object
as required by the superclassASN1Encodable
.SubjectDirectoryAttributes.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.SubjectKeyIdentifier.toASN1Primitive()
SubjectPublicKeyInfo.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Target.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.TargetInformation.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Targets.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.TBSCertificate.toASN1Primitive()
TBSCertList.CRLEntry.toASN1Primitive()
TBSCertList.toASN1Primitive()
Time.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.UserNotice.toASN1Primitive()
V2Form.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.Constructors in org.bouncycastle.asn1.x509 with parameters of type ASN1Primitive -
Uses of ASN1Primitive in org.bouncycastle.asn1.x509.qualified
Methods in org.bouncycastle.asn1.x509.qualified that return ASN1PrimitiveModifier and TypeMethodDescriptionBiometricData.toASN1Primitive()
Iso4217CurrencyCode.toASN1Primitive()
MonetaryValue.toASN1Primitive()
QCStatement.toASN1Primitive()
SemanticsInformation.toASN1Primitive()
TypeOfBiometricData.toASN1Primitive()
-
Uses of ASN1Primitive in org.bouncycastle.asn1.x509.sigi
Methods in org.bouncycastle.asn1.x509.sigi that return ASN1PrimitiveModifier and TypeMethodDescriptionNameOrPseudonym.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.PersonalData.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
Uses of ASN1Primitive in org.bouncycastle.asn1.x9
Methods in org.bouncycastle.asn1.x9 that return ASN1PrimitiveModifier and TypeMethodDescriptionX962Parameters.getParameters()
X9FieldID.getParameters()
DHPublicKey.toASN1Primitive()
Return an ASN.1 primitive representation of this object.DomainParameters.toASN1Primitive()
Return an ASN.1 primitive representation of this object.KeySpecificInfo.toASN1Primitive()
Return an ASN.1 primitive representation of this object.OtherInfo.toASN1Primitive()
Return an ASN.1 primitive representation of this object.ValidationParams.toASN1Primitive()
X962Parameters.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.X9Curve.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.X9ECParameters.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.X9ECPoint.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.X9FieldElement.toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.X9FieldID.toASN1Primitive()
Produce a DER encoding of the following structure.