static ContentCryptoMaterial fromObjectMetadata ( ObjectMetadata metadata , EncryptionMaterialsAccessor kekMaterialAccessor , Provider securityProvider , boolean alwaysUseSecurityProvider , long [ ] range , ExtraMaterialsDescription extra , boolean keyWrapExpected , AWSKMS kms ) { return fromObjectMetadata0 ( metadata , kekMaterialAccessor , securityProvider , alwaysUseSecurityProvider , range , extra , keyWrapExpected , kms ) ; }
Factory method to return the content crypto material from the S3 object meta data using the specified key encrypting key material accessor and an optional security provider .