Class ContentKeyPolicyRestrictionTokenKey

java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyRestrictionTokenKey
Direct Known Subclasses:
ContentKeyPolicyRsaTokenKey, ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyX509CertificateTokenKey

public class ContentKeyPolicyRestrictionTokenKey extends Object
Base class for Content Key Policy key for token validation. A derived class must be used to create a token key.
  • 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.