Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractDataField - Class in org.ejbca.cvc
Represents a data field (difference from sequence is no sub fields).
AbstractDataField(CVCTagEnum) - Constructor for class org.ejbca.cvc.AbstractDataField
Constructor, must supply the tag
AbstractSequence - Class in org.ejbca.cvc
Represents a CVC sequence, i e contains one or more subfields
AccessRightAuthTerm - Class in org.ejbca.cvc
Represents Access Rights for Inspection Systems.
AccessRightAuthTerm() - Constructor for class org.ejbca.cvc.AccessRightAuthTerm
 
AccessRightAuthTerm(byte[]) - Constructor for class org.ejbca.cvc.AccessRightAuthTerm
 
AccessRightEnum - Enum in org.ejbca.cvc
Represents Access Rights for Authentication Terminals.
AccessRights - Interface in org.ejbca.cvc
Represents Access Rights regarding ePassport data groups DG3, DG4.
AccessRightSignTermEnum - Enum in org.ejbca.cvc
Represents Access Rights for Inspection Systems.
AccessRightsRawValue - Class in org.ejbca.cvc
Internal object representing an access rights value of an unknown type.
AlgorithmUtil - Class in org.ejbca.cvc
Utility for mapping a String of type "SHA1WITHRSA" to our own type OIDFIeld.
AlgorithmUtil() - Constructor for class org.ejbca.cvc.AlgorithmUtil
 
allowsQualifiedSignature() - Method in enum org.ejbca.cvc.AccessRightSignTermEnum
 
allowsSignature() - Method in enum org.ejbca.cvc.AccessRightSignTermEnum
 
AuthorizationField - Class in org.ejbca.cvc
Represents field 'Roles and access rights' i CVC.
AuthorizationRole - Interface in org.ejbca.cvc
 
AuthorizationRoleAuthTermEnum - Enum in org.ejbca.cvc
Definitions of roles for Authentication Terminals in CVC.
AuthorizationRoleEnum - Enum in org.ejbca.cvc
Definitions of roles in CVC.
AuthorizationRoleRawValue - Class in org.ejbca.cvc
Internal object representing a role value of an unknown type.
AuthorizationRoleSignTermEnum - Enum in org.ejbca.cvc
Definitions of roles for Signature Terminals in CVC.

B

BCECUtil - Class in org.ejbca.cvc.util
This is directly copied from org.bouncycastle.jce.provider.asymmetric.ec.Signature BC version 1.41b04 was the base of the copy-paste operation.
BIT_AGE_VERIFICATION - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_CAN_ALLOWED - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_COMMUNITY_ID_VERIFICATION - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_INSTALL_CERT - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_INSTALL_QUALIFIED_CERT - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_PIN_MANAGEMENT - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_PRIVILEGED_TERMINAL - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG1 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG10 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG11 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG12 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG13 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG14 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG15 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG16 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG17 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG18 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG19 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG2 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG20 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG21 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG3 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG4 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG5 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG6 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG7 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG8 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_READ_DG9 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_RESTRICTED_IDENTIFICATION - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_WRITE_DG17 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_WRITE_DG18 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_WRITE_DG19 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_WRITE_DG20 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
BIT_WRITE_DG21 - Static variable in class org.ejbca.cvc.AccessRightAuthTerm
 
bsi_de - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
ByteField - Class in org.ejbca.cvc
Generic field representing binary data (or Octet String)
byteToHex(byte[]) - Static method in class org.ejbca.cvc.util.StringConverter
 
byteToHex(byte[], String) - Static method in class org.ejbca.cvc.util.StringConverter
 
byteToHex(byte) - Static method in class org.ejbca.cvc.util.StringConverter
 

C

CardVerifiableCertificate - Class in org.ejbca.cvc
Wrapper of CVCertificate that extends java.security.cert.Certificate
CardVerifiableCertificate(CVCertificate) - Constructor for class org.ejbca.cvc.CardVerifiableCertificate
Constructs an instance from a CVCertificate
CAReferenceField - Class in org.ejbca.cvc
Represents the CVC field 'Certificate Authority Reference'
CAReferenceField(String, String, String) - Constructor for class org.ejbca.cvc.CAReferenceField
Constructs a new instance from separate fields
CAReferenceField(byte[]) - Constructor for class org.ejbca.cvc.CAReferenceField
Constructor for decoding DER-encoded data
CertificateGenerator - Class in org.ejbca.cvc
Generates CV-certificates and CVC-requests
CertificateParser - Class in org.ejbca.cvc
Class responsible for decoding a DER-encoded CVC object, like a CVCertificate or any other instance of CVCObject.
ConstructionException - Exception in org.ejbca.cvc.exception
Exception indicating that something went wrong while constructing some CVC object.
ConstructionException() - Constructor for exception org.ejbca.cvc.exception.ConstructionException
 
ConstructionException(String) - Constructor for exception org.ejbca.cvc.exception.ConstructionException
 
ConstructionException(Throwable) - Constructor for exception org.ejbca.cvc.exception.ConstructionException
 
ConstructionException(String, Throwable) - Constructor for exception org.ejbca.cvc.exception.ConstructionException
 
convertAlgorithmNameToCVC(String) - Static method in class org.ejbca.cvc.AlgorithmUtil
Some (ECDSA) algorithms requires use of particular CVC-ECDSA algorithm names, so we sue this conversion map to translate from regular (SHA1WithECDSA) names to CVC (SHA1WithCVC-ECDSA) names.
convertCVCSigToX962(String, byte[]) - Static method in class org.ejbca.cvc.util.BCECUtil
 
convertX962SigToCVC(String, byte[]) - Static method in class org.ejbca.cvc.util.BCECUtil
 
createAuthenticatedRequest(CVCertificate, KeyPair, String, CAReferenceField) - Static method in class org.ejbca.cvc.CertificateGenerator
Generates a CVCAuthenticatedRequest using BouncyCastle as signature provider
createAuthenticatedRequest(CVCertificate, KeyPair, String, CAReferenceField, String) - Static method in class org.ejbca.cvc.CertificateGenerator
Same as above except that signature provider is an argument
createCertificate(PublicKey, PrivateKey, String, CAReferenceField, HolderReferenceField, AuthorizationRole, AccessRights, Date, Date, String) - Static method in class org.ejbca.cvc.CertificateGenerator
Generates a CVCertificate
createCertificate(PublicKey, PrivateKey, String, CAReferenceField, HolderReferenceField, AuthorizationRoleEnum, AccessRightEnum, Date, Date, String) - Static method in class org.ejbca.cvc.CertificateGenerator
Generates a CVCertificate.
createInstance(PublicKey, String, AuthorizationRole) - Static method in class org.ejbca.cvc.KeyFactory
Constructs instance from a PublicKey and a hash algorithm
createInstance(PublicKey, String, AuthorizationRoleEnum) - Static method in class org.ejbca.cvc.KeyFactory
Constructs instance from a PublicKey and a hash algorithm.
createRequest(KeyPair, String, HolderReferenceField) - Static method in class org.ejbca.cvc.CertificateGenerator
Generates a CVC-request without an outer signature using BouncyCastle as signature provider
createRequest(KeyPair, String, HolderReferenceField, String) - Static method in class org.ejbca.cvc.CertificateGenerator
Same as above except that signature provider is an argument
createRequest(KeyPair, String, CAReferenceField, HolderReferenceField) - Static method in class org.ejbca.cvc.CertificateGenerator
Generates a CVC-request without an outer signature using BouncyCastle as signature provider, taking Certificate Authority Reference as argument.
createRequest(KeyPair, String, CAReferenceField, HolderReferenceField, String) - Static method in class org.ejbca.cvc.CertificateGenerator
Same as above except that signature provider is also an argument
createSequence(CVCTagEnum) - Static method in class org.ejbca.cvc.SequenceFactory
Constructs a new instance of a subclass to AbstractSequence
createTestCertificate(PublicKey, PrivateKey, CAReferenceField, HolderReferenceField, String, AuthorizationRoleEnum) - Static method in class org.ejbca.cvc.CertificateGenerator
Generates a CVCertificate for testing with the following characteristics: - expires 3 months from today - hash-algorithm is 'SHA1withRSA' - AuthorizationRoleEnum = IS.
CVC_VERSION - Static variable in class org.ejbca.cvc.CVCObject
 
CVCAuthenticatedRequest - Class in org.ejbca.cvc
Represents a CVC-request having an outer signature
CVCAuthenticatedRequest(CVCertificate, CAReferenceField) - Constructor for class org.ejbca.cvc.CVCAuthenticatedRequest
Creates an instance
CVCAuthorizationTemplate - Class in org.ejbca.cvc
Represents the field 'Certificate Holder Authorization Template'
CVCAuthorizationTemplate(AuthorizationRole, AccessRights) - Constructor for class org.ejbca.cvc.CVCAuthorizationTemplate
Constructor taking the individual fields
CVCAuthorizationTemplate(AuthorizationRoleEnum, AccessRightEnum) - Constructor for class org.ejbca.cvc.CVCAuthorizationTemplate
Constructor taking the individual fields.
CVCertificate - Class in org.ejbca.cvc
Represents a Card Verifiable Certificate according to the specification for EAC 1.11.
CVCertificate(CVCertificateBody) - Constructor for class org.ejbca.cvc.CVCertificate
Creates an instance from a CVCertificateBody
CVCertificateBody - Class in org.ejbca.cvc
Represents a CertificateBody
CVCertificateBody(CAReferenceField, CVCPublicKey, HolderReferenceField) - Constructor for class org.ejbca.cvc.CVCertificateBody
Creates an instance suitable for CertificateRequest
CVCertificateBody(CAReferenceField, CVCPublicKey, HolderReferenceField, AuthorizationRole, AccessRights, Date, Date) - Constructor for class org.ejbca.cvc.CVCertificateBody
Creates an instance suitable for a CVCertificate
CVCertificateBody(CAReferenceField, CVCPublicKey, HolderReferenceField, AuthorizationRoleEnum, AccessRightEnum, Date, Date) - Constructor for class org.ejbca.cvc.CVCertificateBody
Creates an instance suitable for a CVCertificate.
CvcException - Exception in org.ejbca.cvc.exception
Base class for CVC-specific exceptions
CvcException() - Constructor for exception org.ejbca.cvc.exception.CvcException
 
CvcException(String) - Constructor for exception org.ejbca.cvc.exception.CvcException
 
CvcException(Throwable) - Constructor for exception org.ejbca.cvc.exception.CvcException
 
CvcException(String, Throwable) - Constructor for exception org.ejbca.cvc.exception.CvcException
 
CVCObject - Class in org.ejbca.cvc
Base class for all objects in a CV-certificate
CVCObject(CVCTagEnum) - Constructor for class org.ejbca.cvc.CVCObject
Constructor taking a tag
CVCObjectIdentifiers - Interface in org.ejbca.cvc
Object identifiers for the CVC library
CVCProvider - Class in org.ejbca.cvc
This is our own Security Provider for CVC.
CVCProvider() - Constructor for class org.ejbca.cvc.CVCProvider
 
CVCPublicKey - Class in org.ejbca.cvc
Represents the sequence Public Key
CVCTagEnum - Enum in org.ejbca.cvc
Definitions of the applications specific tags in CV-certificates.

D

DateField - Class in org.ejbca.cvc
Represents a CVC field of type Date
decodeField(CVCTagEnum, byte[]) - Static method in class org.ejbca.cvc.FieldFactory
Constructs a new instance and populates it with data from the supplied DER-encoded byte array.
decodeLength(DataInputStream) - Static method in class org.ejbca.cvc.CVCObject
Reads and decodes a DER-encoded length value
decodePoint(byte[]) - Static method in class org.ejbca.cvc.PublicKeyEC
Decodes an uncompressed ECPoint.

E

encode(DataOutputStream) - Method in class org.ejbca.cvc.AbstractDataField
Generates a DER-encoded byte array from this object, including tag and length
encode(DataOutputStream) - Method in class org.ejbca.cvc.AbstractSequence
 
encode(DataOutputStream) - Method in class org.ejbca.cvc.CVCObject
Writes this object as a DER-encoded byte array to 'out'
encodeLength(int) - Static method in class org.ejbca.cvc.CVCObject
DER-encodes field length according to ITU-T X.690.
encodePoint(ECPoint, EllipticCurve) - Static method in class org.ejbca.cvc.PublicKeyEC
Uncompressed encoding of a ECPoint according to BSI-TR-03111 chapter 3.1.1: 0x04 || enc(X) || enc(Y)
engineGenerateCertificate(InputStream) - Method in class org.ejbca.cvc.JDKCVCertificateFactory
Generates a certificate object and initializes it with the data read from the input stream inStream.
engineGenerateCertificates(InputStream) - Method in class org.ejbca.cvc.JDKCVCertificateFactory
Returns a (possibly empty) collection view of the certificate read from the given input stream inStream.
engineGenerateCRL(InputStream) - Method in class org.ejbca.cvc.JDKCVCertificateFactory
CRLs are not supported by CVC.
engineGenerateCRLs(InputStream) - Method in class org.ejbca.cvc.JDKCVCertificateFactory
CRLs are not supported by CVC.
equals(Object) - Method in class org.ejbca.cvc.OIDField
 

F

FieldFactory - Class in org.ejbca.cvc
Factory for creating instances of AbstractDataField from a tag.
FieldFactory() - Constructor for class org.ejbca.cvc.FieldFactory
 
FileHelper - Class in org.ejbca.cvc.example
Utility for reading and writing files.

G

GenerateCert - Class in org.ejbca.cvc.example
Example code for generating a CVCertificate
GenerateRequest - Class in org.ejbca.cvc.example
Example code for generating a CVC request having an outer signature, i e request used for certificate renewal.
GenericPublicKeyField - Class in org.ejbca.cvc
Generic public key class that is only used while parsing DER-encoded data.
getAccessRight() - Method in class org.ejbca.cvc.AuthorizationField
Deprecated.
getAccessRights() - Method in class org.ejbca.cvc.AuthorizationField
Returns access rights.
getAlgorithm() - Method in class org.ejbca.cvc.PublicKeyEC
 
getAlgorithm() - Method in class org.ejbca.cvc.PublicKeyRSA
 
getAlgorithmName(OIDField) - Static method in class org.ejbca.cvc.AlgorithmUtil
Returns algorithmName for a given OID
getAllowedFields() - Method in class org.ejbca.cvc.AbstractSequence
Returns tags for all allowed subfields, in the same order as they appear when DER-encoded
getAllowedFields() - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
 
getAllowedFields() - Method in class org.ejbca.cvc.CVCAuthorizationTemplate
 
getAllowedFields() - Method in class org.ejbca.cvc.CVCertificate
 
getAllowedFields() - Method in class org.ejbca.cvc.CVCertificateBody
 
getAllowedFields() - Method in class org.ejbca.cvc.GenericPublicKeyField
 
getAllowedFields() - Method in class org.ejbca.cvc.PublicKeyEC
 
getAllowedFields() - Method in class org.ejbca.cvc.PublicKeyRSA
 
getAsText(String, boolean) - Method in class org.ejbca.cvc.AbstractDataField
Returns this field as text
getAsText(String) - Method in class org.ejbca.cvc.AbstractSequence
Returns this object as text, including tag value
getAsText(String, boolean) - Method in class org.ejbca.cvc.AbstractSequence
Creates a textual representation of this object's tag.
getAsText() - Method in class org.ejbca.cvc.CVCObject
Same as getAsText("", true).
getAsText(boolean) - Method in class org.ejbca.cvc.CVCObject
Same as getAsText("", boolean).
getAsText(String) - Method in class org.ejbca.cvc.CVCObject
Same as getAsText(String, true).
getAsText(String, boolean) - Method in class org.ejbca.cvc.CVCObject
Creates a textual representation of this object's tag.
getAuthorityReference() - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
Returns CA_REFERENCE
getAuthorityReference() - Method in class org.ejbca.cvc.CVCertificateBody
Returns 'Certificate Authority Reference' Since this field is optional in a CVCRequest this method may return null
getAuthorizationField() - Method in class org.ejbca.cvc.CVCAuthorizationTemplate
Returns AuthorizationField
getAuthorizationTemplate() - Method in class org.ejbca.cvc.CVCertificateBody
Returns CVCAuthorizationTemplate
getAuthRole() - Method in class org.ejbca.cvc.AuthorizationField
Returns the role.
getCertificateBody() - Method in class org.ejbca.cvc.CVCertificate
Returns the embedded CertificateBody
getConcatenated() - Method in class org.ejbca.cvc.ReferenceField
Returns the value as a concatenation of country, mnemonic and sequence
getCountry() - Method in class org.ejbca.cvc.ReferenceField
Returns country
getCVCertificate() - Method in class org.ejbca.cvc.CardVerifiableCertificate
Returns embedded CVCertificate
getData() - Method in class org.ejbca.cvc.ByteField
Returns the data.
getDate() - Method in class org.ejbca.cvc.DateField
Returns the date
getDEREncoded() - Method in class org.ejbca.cvc.AbstractSequence
Helper for creating a DER-encoded byte array.
getEncodableFields() - Method in class org.ejbca.cvc.AbstractSequence
Returns all subfields for DER-encoding
getEncodableFields() - Method in class org.ejbca.cvc.PublicKeyEC
Overridden method that enables us to control exactly which fields that are included when DER-encoding.
getEncoded() - Method in class org.ejbca.cvc.AbstractDataField
Generates a DER-encoded byte array from this object
getEncoded() - Method in class org.ejbca.cvc.AccessRightAuthTerm
 
getEncoded() - Method in enum org.ejbca.cvc.AccessRightEnum
 
getEncoded() - Method in interface org.ejbca.cvc.AccessRights
 
getEncoded() - Method in enum org.ejbca.cvc.AccessRightSignTermEnum
 
getEncoded() - Method in class org.ejbca.cvc.AccessRightsRawValue
 
getEncoded() - Method in class org.ejbca.cvc.AuthorizationField
 
getEncoded() - Method in class org.ejbca.cvc.ByteField
 
getEncoded() - Method in class org.ejbca.cvc.CardVerifiableCertificate
 
getEncoded() - Method in class org.ejbca.cvc.CVCPublicKey
 
getEncoded() - Method in class org.ejbca.cvc.DateField
Encodes the date value so that every number in '080407' is stored as an individual byte
getEncoded() - Method in class org.ejbca.cvc.IntegerField
 
getEncoded() - Method in class org.ejbca.cvc.OIDField
 
getEncoded() - Method in class org.ejbca.cvc.ReferenceField
 
getFlag(int) - Method in class org.ejbca.cvc.AccessRightAuthTerm
 
getFormat() - Method in class org.ejbca.cvc.PublicKeyEC
 
getFormat() - Method in class org.ejbca.cvc.PublicKeyRSA
 
getHolderReference() - Method in class org.ejbca.cvc.CVCertificateBody
Returns 'Certificate Holder Reference'
getMnemonic() - Method in class org.ejbca.cvc.ReferenceField
Returns mnemonic
getModulus() - Method in class org.ejbca.cvc.PublicKeyRSA
 
getObjectIdentifier() - Method in class org.ejbca.cvc.CVCAuthorizationTemplate
Returns the Object Identifier as a String
getObjectIdentifier() - Method in class org.ejbca.cvc.CVCPublicKey
Returns Object Identifier
getOIDField(String) - Static method in class org.ejbca.cvc.AlgorithmUtil
Returns the OIDField associated with 'algorithmName'
getOIDForEnums(AuthorizationRole, AccessRights) - Static method in class org.ejbca.cvc.CVCAuthorizationTemplate
Determines the OID to use for the types of the given role/rights objects.
getParams() - Method in class org.ejbca.cvc.PublicKeyEC
 
getParent() - Method in class org.ejbca.cvc.CVCObject
Returns parent, that is, the AbstractSequence that contains this object (if any)
getPublicExponent() - Method in class org.ejbca.cvc.PublicKeyRSA
 
getPublicKey() - Method in class org.ejbca.cvc.CardVerifiableCertificate
 
getPublicKey() - Method in class org.ejbca.cvc.CVCertificateBody
Returns the public key
getRequest() - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
Returns the embedded request (as an instance of CVCertificate)
getRole() - Method in class org.ejbca.cvc.AuthorizationField
Deprecated.
getSequence() - Method in class org.ejbca.cvc.ReferenceField
Returns sequence
getSignature() - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
Returns signature
getSignature() - Method in class org.ejbca.cvc.CVCertificate
Returns the signature
getSubfields() - Method in class org.ejbca.cvc.AbstractSequence
Returns all added subfields
getTag() - Method in class org.ejbca.cvc.CVCObject
Returns the tag
getTBS() - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
Returns the data To Be Signed
getTBS() - Method in class org.ejbca.cvc.CVCertificate
Returns the data To Be Signed
getTBS() - Method in interface org.ejbca.cvc.Signable
Returns the data to be signed
getValidFrom() - Method in class org.ejbca.cvc.CVCertificateBody
Returns 'Effective Date'
getValidTo() - Method in class org.ejbca.cvc.CVCertificateBody
Returns 'Expiration Date'
getValue() - Method in enum org.ejbca.cvc.AccessRightEnum
Returns the tag as a bitmap
getValue() - Method in enum org.ejbca.cvc.AccessRightSignTermEnum
Returns the tag as a bitmap
getValue() - Method in interface org.ejbca.cvc.AuthorizationRole
 
getValue() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
Returns the value as a bitmap
getValue() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
Returns the value as a bitmap
getValue() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
getValue() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
Returns the value as a bitmap
getValue() - Method in enum org.ejbca.cvc.CVCTagEnum
Returns the value of the tag
getValue() - Method in class org.ejbca.cvc.IntegerField
 
getValue() - Method in class org.ejbca.cvc.OIDField
 
getW() - Method in class org.ejbca.cvc.PublicKeyEC
 

H

hasDG3() - Method in enum org.ejbca.cvc.AccessRightEnum
 
hasDG4() - Method in enum org.ejbca.cvc.AccessRightEnum
 
hexToByte(String) - Static method in class org.ejbca.cvc.util.StringConverter
 
HolderReferenceField - Class in org.ejbca.cvc
Represents the field Certificate Holder Reference.
HolderReferenceField(String, String, String) - Constructor for class org.ejbca.cvc.HolderReferenceField
Constructs a new instance from separate field values
HolderReferenceField(byte[]) - Constructor for class org.ejbca.cvc.HolderReferenceField
Constructs a new instance by parsing DER-encoded data

I

id_EAC_ePassport - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_EAC_roles_AT - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_EAC_roles_ST - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_ECDSA - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_ECDSA_SHA_1 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_ECDSA_SHA_224 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_ECDSA_SHA_256 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_ECDSA_SHA_384 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_ECDSA_SHA_512 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_RSA - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_RSA_PSS_SHA_1 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_RSA_PSS_SHA_256 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_RSA_PSS_SHA_512 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_RSA_v1_5_SHA_1 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_RSA_v1_5_SHA_256 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
id_TA_RSA_v1_5_SHA_512 - Static variable in interface org.ejbca.cvc.CVCObjectIdentifiers
 
IntegerField - Class in org.ejbca.cvc
Represents a generic field of type Integer
isAccreditationBodyDV() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isAccreditationBodyDV() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isAccreditationBodyDV() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isAccreditationBodyDV() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isAccreditationBodyDV() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isAuthenticationTerminal() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isAuthenticationTerminal() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isAuthenticationTerminal() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isAuthenticationTerminal() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isAuthenticationTerminal() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isCertificationServiceProviderDV() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isCertificationServiceProviderDV() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isCertificationServiceProviderDV() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isCertificationServiceProviderDV() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isCertificationServiceProviderDV() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isCVCA() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isCVCA() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isCVCA() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isCVCA() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isCVCA() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isDomesticDV() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isDomesticDV() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isDomesticDV() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isDomesticDV() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isDomesticDV() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isDV() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isDV() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isDV() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isDV() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isDV() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isForeignDV() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isForeignDV() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isForeignDV() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isForeignDV() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isForeignDV() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isIS() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isIS() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isIS() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isIS() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isIS() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
isSequence() - Method in enum org.ejbca.cvc.CVCTagEnum
Returns flag indicating if this field is a Sequence
isShowBitLength() - Method in class org.ejbca.cvc.ByteField
Returns flag for 'showBitLen'
isSignatureTerminal() - Method in interface org.ejbca.cvc.AuthorizationRole
 
isSignatureTerminal() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
isSignatureTerminal() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
isSignatureTerminal() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
isSignatureTerminal() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 

J

JDKCVCertificateFactory - Class in org.ejbca.cvc
Class for dealing with CVC certificates.
JDKCVCertificateFactory() - Constructor for class org.ejbca.cvc.JDKCVCertificateFactory
 

K

KeyFactory - Class in org.ejbca.cvc
Tiny factory for creating instances of (subclasses to) CVCPublicKey
KeyFactory() - Constructor for class org.ejbca.cvc.KeyFactory
 

L

loadFile(String) - Static method in class org.ejbca.cvc.example.FileHelper
Loads a file
loadFile(File) - Static method in class org.ejbca.cvc.example.FileHelper
Loads a file

M

main(String[]) - Static method in class org.ejbca.cvc.example.GenerateCert
 
main(String[]) - Static method in class org.ejbca.cvc.example.GenerateRequest
 
main(String[]) - Static method in class org.ejbca.cvc.example.Parse
 

N

name() - Method in class org.ejbca.cvc.AccessRightAuthTerm
 
name() - Method in interface org.ejbca.cvc.AccessRights
 
name() - Method in class org.ejbca.cvc.AccessRightsRawValue
 
name() - Method in interface org.ejbca.cvc.AuthorizationRole
 
name() - Method in class org.ejbca.cvc.AuthorizationRoleRawValue
 
NEWLINE - Static variable in class org.ejbca.cvc.CVCObject
 

O

OIDField - Class in org.ejbca.cvc
Represents Object Identifier
org.ejbca.cvc - package org.ejbca.cvc
 
org.ejbca.cvc.example - package org.ejbca.cvc.example
 
org.ejbca.cvc.exception - package org.ejbca.cvc.exception
 
org.ejbca.cvc.util - package org.ejbca.cvc.util
 

P

Parse - Class in org.ejbca.cvc.example
Example code for parsing a DER-encoded byte array
parseCertificate(byte[]) - Static method in class org.ejbca.cvc.CertificateParser
Decodes a DER-encoded byte array containing a CVCertificate
parseCVCObject(byte[]) - Static method in class org.ejbca.cvc.CertificateParser
Decodes a DER-encoded byte array containing any CVCObject
ParseException - Exception in org.ejbca.cvc.exception
Exception indicating that a byte array could not be parsed as a CVC object
ParseException() - Constructor for exception org.ejbca.cvc.exception.ParseException
 
ParseException(String) - Constructor for exception org.ejbca.cvc.exception.ParseException
 
ParseException(Throwable) - Constructor for exception org.ejbca.cvc.exception.ParseException
 
ParseException(String, Throwable) - Constructor for exception org.ejbca.cvc.exception.ParseException
 
PROVIDER_NAME - Static variable in class org.ejbca.cvc.CVCProvider
 
PublicKeyEC - Class in org.ejbca.cvc
Implements handling of a public key of Elliptic Curve type.
PublicKeyEC(GenericPublicKeyField) - Constructor for class org.ejbca.cvc.PublicKeyEC
Creates an instance from a GenericPublicKeyField
PublicKeyEC(OIDField, ECPublicKey, AuthorizationRole) - Constructor for class org.ejbca.cvc.PublicKeyEC
Creates an instance from an OIDField and a java.security.interfaces.ECPublicKey
PublicKeyEC(OIDField, ECPublicKey, AuthorizationRoleEnum) - Constructor for class org.ejbca.cvc.PublicKeyEC
Creates an instance from an OIDField and a java.security.interfaces.ECPublicKey.
PublicKeyRSA - Class in org.ejbca.cvc
Implements handling of a public key of RSA type.

R

ReferenceField - Class in org.ejbca.cvc
Base class for Certificate Authority/Holder Reference.
ReferenceField(CVCTagEnum, String, String, String) - Constructor for class org.ejbca.cvc.ReferenceField
Constructs a new instance from separate fields
ReferenceField(CVCTagEnum, byte[]) - Constructor for class org.ejbca.cvc.ReferenceField
Constructs a new instance by parsing DER-encoded data

S

SequenceFactory - Class in org.ejbca.cvc
Factory for creating sequences, that is certificate objects containing subfields
SequenceFactory() - Constructor for class org.ejbca.cvc.SequenceFactory
 
setFlag(int, boolean) - Method in class org.ejbca.cvc.AccessRightAuthTerm
 
setParent(AbstractSequence) - Method in class org.ejbca.cvc.CVCObject
Sets the parent
setShowBitLength(boolean) - Method in class org.ejbca.cvc.ByteField
Sets flag 'showBitLen'
setSignature(byte[]) - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
Adds signature
setSignature(byte[]) - Method in class org.ejbca.cvc.CVCertificate
Adds signature data
setValue(int) - Method in class org.ejbca.cvc.IntegerField
 
Signable - Interface in org.ejbca.cvc
Interface for signable classes, forcing them to implement a method for getting the data to be signed
StringConverter - Class in org.ejbca.cvc.util
Utility for mapping between byte values and hex codes

T

toByteArray(Integer) - Static method in class org.ejbca.cvc.CVCObject
Converts an Integer to a trimmed byte array.
toByteArray(Long) - Static method in class org.ejbca.cvc.CVCObject
Converts a Long to a trimmed byte array.
toString() - Method in class org.ejbca.cvc.AccessRightAuthTerm
 
toString() - Method in enum org.ejbca.cvc.AccessRightEnum
 
toString() - Method in enum org.ejbca.cvc.AccessRightSignTermEnum
 
toString() - Method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
 
toString() - Method in enum org.ejbca.cvc.AuthorizationRoleEnum
 
toString() - Method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
 
toString() - Method in class org.ejbca.cvc.CardVerifiableCertificate
 
toString() - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
Helper method, returns this request as text
toString() - Method in class org.ejbca.cvc.CVCertificate
Returns the certificate in text format
toString() - Method in class org.ejbca.cvc.OIDField
 
trimByteArray(byte[]) - Static method in class org.ejbca.cvc.CVCObject
Trims a byte array meaning that leading bytes containing zeros have been removed.

U

UNCOMPRESSED_POINT_TAG - Static variable in class org.ejbca.cvc.PublicKeyEC
Byte value indicating the start of an uncompressed Point data array

V

valueAsText() - Method in class org.ejbca.cvc.AbstractDataField
Returns this field's data as text
valueAsText() - Method in class org.ejbca.cvc.AuthorizationField
 
valueAsText() - Method in class org.ejbca.cvc.ByteField
 
valueAsText() - Method in class org.ejbca.cvc.DateField
 
valueAsText() - Method in class org.ejbca.cvc.IntegerField
 
valueAsText() - Method in class org.ejbca.cvc.OIDField
 
valueAsText() - Method in class org.ejbca.cvc.ReferenceField
 
valueOf(String) - Static method in enum org.ejbca.cvc.AccessRightEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ejbca.cvc.AccessRightSignTermEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ejbca.cvc.AuthorizationRoleEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ejbca.cvc.CVCTagEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ejbca.cvc.AccessRightEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ejbca.cvc.AccessRightSignTermEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ejbca.cvc.AuthorizationRoleAuthTermEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ejbca.cvc.AuthorizationRoleEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ejbca.cvc.AuthorizationRoleSignTermEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ejbca.cvc.CVCTagEnum
Returns an array containing the constants of this enum type, in the order they are declared.
verify(PublicKey) - Method in class org.ejbca.cvc.CardVerifiableCertificate
 
verify(PublicKey, String) - Method in class org.ejbca.cvc.CardVerifiableCertificate
 
verify(PublicKey) - Method in class org.ejbca.cvc.CVCAuthenticatedRequest
Verifies the signature
verify(PublicKey, String) - Method in class org.ejbca.cvc.CVCertificate
Verifies the signature

W

writeFile(File, byte[]) - Static method in class org.ejbca.cvc.example.FileHelper
Writes data to a file
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.