Jan 22, 2020 Get started with Office 365 Management APIs. 1/22/2020; 14 minutes to read; In this article. When you create an application that needs access to secured services like the Office 365 Management APIs, you need to provide a way to let the service know if.
NOOP
Constructor and Description |
---|
GenerateDataKeyPairWithoutPlaintextRequest() |
Modifier and Type | Method and Description |
---|---|
GenerateDataKeyPairWithoutPlaintextRequest | addEncryptionContextEntry(String key, String value) |
GenerateDataKeyPairWithoutPlaintextRequest | clearEncryptionContextEntries() Removes all the entries added into EncryptionContext. |
GenerateDataKeyPairWithoutPlaintextRequest | clone() Creates a shallow clone of this object for all fields except the handler context. |
boolean | equals(Object obj) |
Map<String,String> | getEncryptionContext() Specifies the encryption context that will be used when encrypting the private key in the data key pair. |
List<String> | getGrantTokens() |
String | getKeyId() Specifies the CMK that encrypts the private key in the data key pair. |
String | getKeyPairSpec() Determines the type of data key pair that is generated. |
int | hashCode() |
void | setEncryptionContext(Map<String,String> encryptionContext) Specifies the encryption context that will be used when encrypting the private key in the data key pair. |
void | setGrantTokens(Collection<String> grantTokens) |
void | setKeyId(String keyId) Specifies the CMK that encrypts the private key in the data key pair. |
void | setKeyPairSpec(String keyPairSpec) Determines the type of data key pair that is generated. |
String | toString() |
GenerateDataKeyPairWithoutPlaintextRequest | withEncryptionContext(Map<String,String> encryptionContext) Specifies the encryption context that will be used when encrypting the private key in the data key pair. |
GenerateDataKeyPairWithoutPlaintextRequest | withGrantTokens(Collection<String> grantTokens) |
GenerateDataKeyPairWithoutPlaintextRequest | withGrantTokens(String.. grantTokens) A list of grant tokens. |
GenerateDataKeyPairWithoutPlaintextRequest | withKeyId(String keyId) Specifies the CMK that encrypts the private key in the data key pair. |
GenerateDataKeyPairWithoutPlaintextRequest | withKeyPairSpec(DataKeyPairSpec keyPairSpec) Determines the type of data key pair that is generated. |
GenerateDataKeyPairWithoutPlaintextRequest | withKeyPairSpec(String keyPairSpec) Determines the type of data key pair that is generated. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
getClass, notify, notifyAll, wait, wait, wait
Specifies the encryption context that will be used when encrypting the private key in the data key pair.
An encryption context is a collection of non-secret key-value pairs that represents additional authenticated data. When you use an encryption context to encrypt data, you must specify the same (an exact case-sensitive match) encryption context to decrypt the data. An encryption context is optional when encrypting with a symmetric CMK, but it is highly recommended.
For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
An encryption context is a collection of non-secret key-value pairs that represents additional authenticated data. When you use an encryption context to encrypt data, you must specify the same (an exact case-sensitive match) encryption context to decrypt the data. An encryption context is optional when encrypting with a symmetric CMK, but it is highly recommended.
For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
Specifies the encryption context that will be used when encrypting the private key in the data key pair.
An encryption context is a collection of non-secret key-value pairs that represents additional authenticated data. When you use an encryption context to encrypt data, you must specify the same (an exact case-sensitive match) encryption context to decrypt the data. An encryption context is optional when encrypting with a symmetric CMK, but it is highly recommended.
For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
encryptionContext
- Specifies the encryption context that will be used when encrypting the private key in the data key pair.An encryption context is a collection of non-secret key-value pairs that represents additional authenticated data. When you use an encryption context to encrypt data, you must specify the same (an exact case-sensitive match) encryption context to decrypt the data. An encryption context is optional when encrypting with a symmetric CMK, but it is highly recommended.
For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
Specifies the encryption context that will be used when encrypting the private key in the data key pair.
An encryption context is a collection of non-secret key-value pairs that represents additional authenticated data. When you use an encryption context to encrypt data, you must specify the same (an exact case-sensitive match) encryption context to decrypt the data. An encryption context is optional when encrypting with a symmetric CMK, but it is highly recommended.
For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
encryptionContext
- Specifies the encryption context that will be used when encrypting the private key in the data key pair.An encryption context is a collection of non-secret key-value pairs that represents additional authenticated data. When you use an encryption context to encrypt data, you must specify the same (an exact case-sensitive match) encryption context to decrypt the data. An encryption context is optional when encrypting with a symmetric CMK, but it is highly recommended.
For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
withEncryptionContext(java.util.Map<java.lang.String, java.lang.String>)
Specifies the CMK that encrypts the private key in the data key pair. You must specify a symmetric CMK. You cannot use an asymmetric CMK. To get the type of your CMK, use the DescribeKey operation.
To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with 'alias/'
.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.
keyId
- Specifies the CMK that encrypts the private key in the data key pair. You must specify a symmetric CMK. You cannot use an asymmetric CMK. To get the type of your CMK, use the DescribeKey operation. To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with 'alias/'
.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.
Specifies the CMK that encrypts the private key in the data key pair. You must specify a symmetric CMK. You cannot use an asymmetric CMK. To get the type of your CMK, use the DescribeKey operation.
To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with 'alias/'
.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.
To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with 'alias/'
.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.
Specifies the CMK that encrypts the private key in the data key pair. You must specify a symmetric CMK. You cannot use an asymmetric CMK. To get the type of your CMK, use the DescribeKey operation.
To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with 'alias/'
.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.
keyId
- Specifies the CMK that encrypts the private key in the data key pair. You must specify a symmetric CMK. You cannot use an asymmetric CMK. To get the type of your CMK, use the DescribeKey operation. To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with 'alias/'
.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey. To get the alias name and alias ARN, use ListAliases.
Determines the type of data key pair that is generated.
The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
keyPairSpec
- Determines the type of data key pair that is generated.The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
DataKeyPairSpec
Determines the type of data key pair that is generated.
The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
DataKeyPairSpec
Determines the type of data key pair that is generated.
The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
keyPairSpec
- Determines the type of data key pair that is generated.The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
DataKeyPairSpec
Determines the type of data key pair that is generated.
The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
keyPairSpec
- Determines the type of data key pair that is generated.The AWS KMS rule that restricts the use of asymmetric RSA CMKs to encrypt and decrypt or to sign and verify (but not both), and the rule that permits you to use ECC CMKs only to sign and verify, are not effective outside of AWS KMS.
DataKeyPairSpec
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
grantTokens
- A list of grant tokens.For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use setGrantTokens(java.util.Collection)
or withGrantTokens(java.util.Collection)
if you want to override the existing values.
grantTokens
- A list of grant tokens.For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
grantTokens
- A list of grant tokens.For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
toString
in class Object
Object.toString()
equals
in class Object
hashCode
in class Object
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.
The golden rule of Web application security is to never trust data fromuntrusted sources. Sometimes it can be useful to pass data through anuntrusted medium. Cryptographically signed values can be passed through anuntrusted channel safe in the knowledge that any tampering will be detected.
Download now the serial number for DVDFab 8 qt Serial. All serial numbers are genuine and you can find more results in our database for DVDFab software. Updates are issued periodically and new results might be added for this applications from our community. Free download DVDFab 8.2.2.4 Qt New Full Version + Serial Key, working, Reg key, Activation Key, License, Crack, Patch, Serial, number, key, keygen, registration key. Dvdfab 8 Qt Serial Key Website Development & Video Production don't have to be boring - As a website design and video production professional, Ron Haley has consistantly delivered. Dvdfab 8 qt registration key generator free. This single-player demo features dvdfab 8 qt registration key generator complete dvdfab 8 qt registration key generator from the Dawn Brotherhood faction. This screensaver offers about 25 images of the actress, including pictures from magazines, shots from movies, and a. Dvdfab 8 Qt Serial Download Search Tips Your search for Dvdfab 8.0.2.2 may return better results if you avoid searching for words like: crack, serial, keygen, activation, code, hack, cracked, etc.
Django provides both a low-level API for signing values and a high-level APIfor setting and reading signed cookies, one of the most common uses ofsigning in Web applications.
You may also find signing useful for the following:
SECRET_KEY
¶When you create a new Django project using startproject
, thesettings.py
file is generated automatically and gets a randomSECRET_KEY
value. This value is the key to securing signeddata – it is vital you keep this secure, or attackers could use it togenerate their own signed values.
Django’s signing methods live in the django.core.signing
module.To sign a value, first instantiate a Signer
instance:
The signature is appended to the end of the string, following the colon.You can retrieve the original value using the unsign
method:
If the signature or value have been altered in any way, adjango.core.signing.BadSignature
exception will be raised:
By default, the Signer
class uses the SECRET_KEY
setting togenerate signatures. You can use a different secret by passing it to theSigner
constructor:
Signer
(key=None, sep=':', salt=None)[source]¶Returns a signer which uses key
to generate signatures and sep
toseparate values. sep
cannot be in the URL safe base64 alphabet. This alphabet containsalphanumeric characters, hyphens, and underscores.
salt
argument¶If you do not wish for every occurrence of a particular string to have the samesignature hash, you can use the optional salt
argument to the Signer
class. Using a salt will seed the signing hash function with both the salt andyour SECRET_KEY
:
Using salt in this way puts the different signatures into differentnamespaces. A signature that comes from one namespace (a particular saltvalue) cannot be used to validate the same plaintext string in a differentnamespace that is using a different salt setting. The result is to prevent anattacker from using a signed string generated in one place in the code as inputto another piece of code that is generating (and verifying) signatures using adifferent salt.
Unlike your SECRET_KEY
, your salt argument does not need to staysecret.
TimestampSigner
is a subclass of Signer
that appends a signedtimestamp to the value. This allows you to confirm that a signed value wascreated within a specified period of time:
TimestampSigner
(key=None, sep=':', salt=None)[source]¶sign
(value)[source]¶Sign value
and append current timestamp to it.
unsign
(value, max_age=None)[source]¶Checks if value
was signed less than max_age
seconds ago,otherwise raises SignatureExpired
. The max_age
parameter canaccept an integer or a datetime.timedelta
object.
If you wish to protect a list, tuple or dictionary you can do so using thesigning module’s dumps
and loads
functions. These imitate Python’spickle module, but use JSON serialization under the hood. JSON ensures thateven if your SECRET_KEY
is stolen an attacker will not be ableto execute arbitrary commands by exploiting the pickle format:
Because of the nature of JSON (there is no native distinction between listsand tuples) if you pass in a tuple, you will get a list fromsigning.loads(object)
:
dumps
(obj, key=None, salt='django.core.signing', compress=False)[source]¶Returns URL-safe, sha1 signed base64 compressed JSON string. Serializedobject is signed using TimestampSigner
.
loads
(string, key=None, salt='django.core.signing', max_age=None)[source]¶Reverse of dumps()
, raises BadSignature
if signature fails.Checks max_age
(in seconds) if given.