public class EncryptionHeader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EncryptionHeader.CryptoAlgorithm |
static class |
EncryptionHeader.HashAlgorithm |
Modifier and Type | Field and Description |
---|---|
static int |
FAES_FLAG |
static int |
FCRYPTO_API_FLAG |
static int |
FDOC_PROPS_FLAG |
static int |
FEXTERNAL_FLAG |
static Charset |
UNICODE_CHARSET |
Constructor and Description |
---|
EncryptionHeader(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
EncryptionHeader.CryptoAlgorithm |
getCryptoAlgorithm() |
String |
getCspName() |
int |
getFlags() |
EncryptionHeader.HashAlgorithm |
getHashAlgorithm() |
int |
getKeySize() |
int |
getProviderType() |
int |
getSizeExtra() |
static boolean |
isFlagSet(int flagsVal,
int flagMask) |
static EncryptionHeader |
read(ByteBuffer encProvBuf,
Set<EncryptionHeader.CryptoAlgorithm> validCryptoAlgos,
Set<EncryptionHeader.HashAlgorithm> validHashAlgos) |
String |
toString() |
public static final Charset UNICODE_CHARSET
public static final int FCRYPTO_API_FLAG
public static final int FDOC_PROPS_FLAG
public static final int FEXTERNAL_FLAG
public static final int FAES_FLAG
public EncryptionHeader(ByteBuffer buffer)
public int getFlags()
public int getSizeExtra()
public EncryptionHeader.CryptoAlgorithm getCryptoAlgorithm()
public EncryptionHeader.HashAlgorithm getHashAlgorithm()
public int getKeySize()
public int getProviderType()
public String getCspName()
public static EncryptionHeader read(ByteBuffer encProvBuf, Set<EncryptionHeader.CryptoAlgorithm> validCryptoAlgos, Set<EncryptionHeader.HashAlgorithm> validHashAlgos)
public static boolean isFlagSet(int flagsVal, int flagMask)
Copyright © 2010–2022 OpenHMS. All rights reserved.