public class SecurityContext extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ASYMMETRIC_KEY |
static String |
SYMMETRIC_KEY |
Constructor and Description |
---|
SecurityContext() |
Modifier and Type | Method and Description |
---|---|
String |
getDecryptionAlias()
Returns the certificate alias for the decryption.
|
Key |
getDecryptionKey()
Returns the decryption key.
|
Key |
getEncryptionKey()
Returns the encryption key
|
String |
getEncryptionKeyAlias()
Returns the encryption key alias.
|
String |
getKeyType()
Returns the key type.
|
String |
getSigningCertAlias()
Return the signing certificate alias
|
Key |
getSigningKey()
Returns the signing key.
|
String |
getSigningRef()
Returns the signing reference type.
|
String |
getVerificationCertAlias()
Returns the signature verification certificate alias.
|
Key |
getVerificationKey()
Returns the signature verification key.
|
void |
setDecryptionAlias(String alias)
Sets the certificate alias for the decryption.
|
void |
setDecryptionKey(Key decryptionKey)
Sets the decryption key
|
void |
setEncryptionKey(Key encryptionKey) |
void |
setEncryptionKeyAlias(String alias)
Sets the encryption key alias.
|
void |
setKeyType(String keyType)
Sets the key type.
|
void |
setSigningCertAlias(String alias)
Sets the signing certificate alias.
|
void |
setSigningKey(Key signingKey)
Sets the signing key
|
void |
setSigningRef(String signingRef)
Sets the signing reference type.
|
void |
setVerificationCertAlias(String alias)
Sets the signature certificate alias
|
void |
setVerificationKey(Key verificationKey)
Sets the signature verification key
|
public static final String SYMMETRIC_KEY
public static final String ASYMMETRIC_KEY
public Key getSigningKey()
public void setSigningKey(Key signingKey)
signingKey
- the signing keypublic Key getVerificationKey()
public void setVerificationKey(Key verificationKey)
verificationKey
- signature verification keypublic Key getEncryptionKey()
public void setEncryptionKey(Key encryptionKey)
public Key getDecryptionKey()
public void setDecryptionKey(Key decryptionKey)
decryptionKey
- the decryption keypublic String getKeyType()
public void setKeyType(String keyType)
keyType
- the key type.public String getSigningCertAlias()
public void setSigningCertAlias(String alias)
alias
- the signature certificate alias.public String getVerificationCertAlias()
public void setVerificationCertAlias(String alias)
alias
- the signature certificate aliaspublic String getEncryptionKeyAlias()
public void setEncryptionKeyAlias(String alias)
alias
- the encryption key alias.public String getDecryptionAlias()
public void setDecryptionAlias(String alias)
alias
- the certificate alias for the decryption.public String getSigningRef()
public void setSigningRef(String signingRef)
signingRef
- the signing reference type.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.