Class ContentKeyPolicyRestrictionTokenKey
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyRestrictionTokenKey
- Direct Known Subclasses:
ContentKeyPolicyRsaTokenKey
,ContentKeyPolicySymmetricTokenKey
,ContentKeyPolicyX509CertificateTokenKey
Base class for Content Key Policy key for token validation. A derived class must be used to create a token key.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContentKeyPolicyRestrictionTokenKey class. -
Method Summary
-
Constructor Details
-
ContentKeyPolicyRestrictionTokenKey
public ContentKeyPolicyRestrictionTokenKey()Creates an instance of ContentKeyPolicyRestrictionTokenKey class.
-
-
Method Details
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-