Crescendo SDK
Loading...
Searching...
No Matches
CrescendoDLL.PCSC Namespace Reference

The CrescendoDLL.PCSC namespace contains Enums relevant to public methods from the main CrescendoDLL namespace. It also contains internal methods and classes that represent the individual applets and applet commands. More...

Enumerations

enum  CommunicationMedia { ContactModeOnly = 0x01 , ContactlessModeOnly = 0x02 , ContactOrContactlessMode = 0x03 }
 Enum representing different communication media values. More...
 
enum  HashAlgoValues { SHA1 = 0x00 , SHA256 = 0x01 , SHA512 = 0x02 }
 Represents different hash algorithms. More...
 
enum  KeyboardEncodings { US , FR }
 Represents different keyboard encodings. More...
 
enum  KeyPurposeCoding { SignatureAuthenticationOnly = 0x11 , DecryptionOnly = 0x22 , Any = 0x33 , KeyTransport = 0x44 }
 Enum representing different Key Purpose coding. More...
 
enum  KeyTypeToBeTransferredWithSKI { PIV , XAUTH , OATH }
 Represents types of keys that can be transferred to the token using Secure Key Injection (SKI). More...
 
enum  OATHModeName { HOTP = 0x00 , TOTP = 0x11 , OCRA = 0x22 , StaticPassword = 0x44 }
 Represents different modes of OATH (Open Authentication) algorithms. More...
 
enum  PIVCryptographicMechanismIdentifier {
  RSA4096 = 0x04 , RSA3072 = 0x05 , RSA2048 = 0x07 , CURVEP256 = 0X11 ,
  CURVEP384 = 0X14 , RSAPKCS1OAEPSHA1 = 0x35
}
 Enum representing the cryptographic mechanism identifiers for PIV (Personal Identity Verification). More...
 
enum  PIVObjectType { privkey , cert , both }
 Represents types of PKI objects that can be put to the token. More...
 
enum  QFormatValues { AlphaNumeric = 0x00 , Numeric = 0x01 , Hexadecimal = 0x02 }
 Represents the format of the challenge. More...
 
enum  TimeStepUnits { s = 0x00 , m = 0x01 , h = 0x02 }
 Represents different units of time. More...
 
enum  UseCounterValues { NotUsed = 0x00 , Used = 0x01 }
 Represents whether the Counter is to be used in OCRA Suite. More...
 
enum  UsePValues { NotUsed = 0x00 , PSHA1 = 0x01 , PSHA256 = 0x02 , PSHA512 = 0x03 }
 Represents whether the PIN/Password is to be used in OCRA Suite. More...
 
enum  UseSValues {
  NotUsed = 0x00 , S64 = 0x01 , S064 = 0x02 , S128 = 0x03 ,
  S256 = 0x04 , S512 = 0x05
}
 Represents whether the Session Information are to be used in OCRA Suite and what is their size. More...
 
enum  UseTimeValues { NotUsed = 0x00 , Used = 0x01 }
 Represents whether the Time is to be used in OCRA Suite. More...
 
enum  XAUTHChallengeType { Static = 0x00 , Dynamic = 0x01 }
 Enum XAUTHChallengeType for representing different types of XAUTH encryption methods. More...
 
enum  XAUTHKeyType { TDES , AES }
 Specifies the type of the XAUTH key. More...
 

Detailed Description

The CrescendoDLL.PCSC namespace contains Enums relevant to public methods from the main CrescendoDLL namespace. It also contains internal methods and classes that represent the individual applets and applet commands.

Enumeration Type Documentation

◆ CommunicationMedia

Enum representing different communication media values.

Enumerator
ContactModeOnly 

Contact mode only.

ContactlessModeOnly 

Contactless mode only.

ContactOrContactlessMode 

Contact or contactless mode.

◆ HashAlgoValues

Represents different hash algorithms.

Enumerator
SHA1 

Secure Hash Algorithm 1. A cryptographic hash function which takes an input and produces a 160-bit (20-byte) hash value.

SHA256 

Secure Hash Algorithm 2 with a hash value of 256 bits. It's a member of the SHA-2 cryptographic hash functions designed by the NSA.

SHA512 

Secure Hash Algorithm 2 with a hash value of 512 bits. It's also a member of the SHA-2 cryptographic hash functions.

◆ KeyboardEncodings

Represents different keyboard encodings.

Enumerator
US 

US: Represents US QWERTY keyboard encoding.

FR 

FR: Represents French AZERTY keyboard encoding.

◆ KeyPurposeCoding

Enum representing different Key Purpose coding.

Enumerator
SignatureAuthenticationOnly 

Signature/Authentication Only.

DecryptionOnly 

Decryption Only.

Any 

Any (Signature/Authentication/Decryption)

KeyTransport 

Key Transport.

◆ KeyTypeToBeTransferredWithSKI

Represents types of keys that can be transferred to the token using Secure Key Injection (SKI).

Enumerator
PIV 

Asymmetric RSA or EC key that can be used Personal Identity Verification (PIV) - encryption, signatures, authentication, etc.

XAUTH 

AES or TDES key used by External Authentication Method (XAUTH)

OATH 

Shared secret for the One Time Password generation.

◆ OATHModeName

Represents different modes of OATH (Open Authentication) algorithms.

Enumerator
HOTP 

HMAC-Based One-Time Password: An OATH algorithm that uses a secret key and a counter to generate one-time passwords.

TOTP 

Time-Based One-Time Password: An OATH algorithm that uses a secret key and the current time to generate one-time passwords.

OCRA 

OATH Challenge-Response Algorithm: An OATH algorithm that uses a secret key and a server challenge to generate one-time passwords.

StaticPassword 

OATH authentication service that stores a static password on V3 token and returns it upon button press.

◆ PIVCryptographicMechanismIdentifier

Enum representing the cryptographic mechanism identifiers for PIV (Personal Identity Verification).

Enumerator
RSA4096 

RSA encryption with a key size of 4096 bits.

RSA3072 

RSA encryption with a key size of 3072 bits.

RSA2048 

RSA encryption with a key size of 2048 bits.

CURVEP256 

Elliptic Curve Cryptography with the P-256 curve.

CURVEP384 

Elliptic Curve Cryptography with the P-384 curve.

RSAPKCS1OAEPSHA1 

RSA encryption with PKCS1 OAEP padding and SHA-1 hash function.

◆ PIVObjectType

Represents types of PKI objects that can be put to the token.

Enumerator
privkey 

privkey: Represents a private key. When this type is specified, the function puts the private key to the token.

cert 

cert: Represents a certificate. When this type is specified, the function puts the certificate to the token.

both 

both: Represents both a private key and a certificate. When this type is specified, the function puts both the private key and the certificate to the token.

◆ QFormatValues

Represents the format of the challenge.

Enumerator
AlphaNumeric 

0x00: Challenge format is AlphaNumeric.

Numeric 

0x01: Challenge format is Numeric.

Hexadecimal 

0x02: Challenge format is Hexadecimal.

◆ TimeStepUnits

Represents different units of time.

Enumerator

s: Represents seconds.

m: Represents minutes.

h: Represents hours.

◆ UseCounterValues

Represents whether the Counter is to be used in OCRA Suite.

Enumerator
NotUsed 

0x00: Counter is not used.

Used 

0x01: Counter is used.

◆ UsePValues

Represents whether the PIN/Password is to be used in OCRA Suite.

Enumerator
NotUsed 

0x00: PIN/Password is not used.

PSHA1 

0x01: PIN/Password is used with PSHA1 parameter.

PSHA256 

0x02: PIN/Password is used with PSHA256 parameter.

PSHA512 

0x03: PIN/Password is used with PSHA512 parameter.

◆ UseSValues

Represents whether the Session Information are to be used in OCRA Suite and what is their size.

Enumerator
NotUsed 

0x00: Session Information is not used.

S64 

0x01: 64-bytes session is used with S parameter.

S064 

0x02: 64-bytes session Information is used with S-064 parameter.

S128 

0x03: 128-bytes session Information is used with S128 parameter.

S256 

0x04: 256-bytes session Information is used with S256 parameter.

S512 

0x05: 512-bytes session Information is used with S512 parameter.

◆ UseTimeValues

Represents whether the Time is to be used in OCRA Suite.

Enumerator
NotUsed 

0x00: Time is not used.

Used 

0x01: Time is used.

◆ XAUTHChallengeType

Enum XAUTHChallengeType for representing different types of XAUTH encryption methods.

Enumerator
Static 

Static: XAUTH is using static default keys to encrypt without calling GET CHALLENGE.

Dynamic 

Dynamic: XAUTH is using GET CHALLENGE to get data to encrypt.

◆ XAUTHKeyType

Specifies the type of the XAUTH key.

Enumerator
TDES 

Represents a Triple Data Encryption Standard (TDES) XAUTH key.

AES 

Represents an Advanced Encryption Standard (AES) XAUTH key.