com.aliyun.oss.crypto

## 类 CryptoRuntime

- java.lang.Object
- - com.aliyun.oss.crypto.CryptoRuntime

-     public class CryptoRuntime
      extends Object

- - ### 构造器概要

    构造器
    构造器和说明
    `CryptoRuntime()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `static RSAPrivateKeySpec` | `convertPemPKCS1ToPrivateKey(byte[] buffer)`
    `static void` | `enableBouncyCastle()` Checks if the crypto mode is supported by the runtime.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### CryptoRuntime

          public CryptoRuntime()

  - ### 方法详细资料

    - #### enableBouncyCastle

          public static void enableBouncyCastle()

      Checks if the crypto mode is supported by the runtime.
      抛出:
        `UnsupportedOperationException` - if the necessary security provider cannot be found

    - #### convertPemPKCS1ToPrivateKey

          public static RSAPrivateKeySpec convertPemPKCS1ToPrivateKey(byte[] buffer)

Copyright © 2020. All Rights Reserved.